Action
Primary button
Use the controls above or point to and press the button to inspect its visual states.
Color reference
Soft Light Yellow
This is a soft, light yellow under the deterministic OKLCH hue, lightness, and chroma ranges. Its closest standardized CSS named color is Dark Goldenrod (#B8860B), measured with straight-line OKLab distance.
Copyable values
Values are calculated from the same opaque sRGB color. Display rounding does not alter the internal calculations.
| Format | Value | Action |
|---|---|---|
| HEX | #A59C6B |
|
| RGB | rgb(165 156 107) |
|
| HSL | hsl(51 24.37% 53.33%) |
|
| HSV | hsv(51 35.15% 64.71%) |
|
| HWB | hwb(51 41.96% 35.29%) |
|
| XYZ D65 | color(xyz-d65 0.300582 0.328381 0.186654) |
|
| LAB | lab(64.2385% -2.1762 26.9628) |
|
| LCH | lch(64.2385% 27.0505 94.6143) |
|
| OKLAB | oklab(68.8425% -0.010603 0.066702) |
|
| OKLCH | oklch(68.8425% 0.067539 99.0322) |
Real-world test
Preview the source as a primary action, subtle status, form treatment, and card surface. Persistent state controls help touch and keyboard users inspect the same normal, hover, and active colors.
Action
Use the controls above or point to and press the button to inspect its visual states.
Status
A 12% source tint over white provides the background; readable text is selected separately.
Form
Source ring on white: 2.78:1 · does not meet the 3:1 non-text threshold where applicable.
Surface
The selected state becomes the card surface with its strongest black-or-white text pairing.
Accessibility diagnostics
Each result applies only to the named foreground, background, text size, and requirement. It is not a complete accessibility or component-conformance claim.
On white
On black
Use guidance
Not recommended
#A59C6B does not reach 4.5:1 on white or Hue Codex paper, so it should not be used there for normal-sized text.
Needs a boundary
Against Hue Codex paper, the color reaches only 2.66:1. Use a contrasting border or another non-color boundary for meaningful controls and graphics.
Readable pairing available
Black text provides the stronger black/white pairing on #A59C6B at 7.57:1. This validates only that text pair, not hover, focus, disabled, or adjacent-color states.
Restrained neutral
Its OKLCH chroma of 0.0675 is restrained, which is generally more suitable for surfaces, borders, or neutral system roles than for a vivid accent.
Pair available
The stronger black/white background is black at 7.57:1. Always retest against the actual rendered background and text size.
Tested backgrounds
| Pair | Background | Contrast ratio |
|---|---|---|
| Black#000000 | 7.57:1 | |
| Hue Codex ink#10212B | 5.94:1 | |
| White#FFFFFF | 2.78:1 | |
| Hue Codex paper#FBFAF5 | 2.66:1 | |
| Soft neutral#F2EFE6 | 2.41:1 |
Design-system starting point
The source color is preserved at the nearest lightness step. Other swatches keep its OKLCH hue, moderate chroma toward the extremes, and reduce chroma only when needed to remain in sRGB.
This is a Hue Codex reference scale, not a claim that the values match Tailwind, Material, or another framework’s named palette.
Adjust the #A59C6B scale in Tints, Shades & TonesColor relationships
Hue rotations use OKLCH while preserving lightness and requested chroma. When a rotated result falls outside sRGB, chroma is reduced deterministically and disclosed.
Applied pairing
The source anchors the main action while the complement marks a secondary status. Contrast is selected separately for each fill.
Distance matching
Matches use straight-line OKLab distance ×100. A smaller value means the coordinates are closer in this model; it is not a claim that two tokens are interchangeable in a design system.
CSS named color
#B8860B OKLab distance ×100: 7.95
Tailwind v4 default
oklch(70.9% 0.01 56.259)
OKLab distance ×100: 6.4 · sRGB preview #A6A09B
Print boundary
Reliable print matching needs licensed reference data plus a defined ink, paper, profile, and viewing condition.
Read the print methodologyColor-vision screening
These encoded-sRGB matrix previews are screening approximations. They help reveal possible color-only distinctions but do not reproduce every person’s vision or establish accessibility conformance.
Red-vision deficiency approximation
Green-vision deficiency approximation
Blue-yellow deficiency approximation
Monochromatic-vision approximation
Ready to use
Exports preserve the source, readable foreground, and generated 50–900 scale. Tailwind v4 CSS-first and Tailwind v3 JavaScript-config formats are labeled separately.
Semantic aliases and the complete 50–900 scale.
:root {
--color-primary: #A59C6B;
--color-on-primary: #000000;
--color-primary-oklch: oklch(68.8425% 0.067539 99.0322);
--color-primary-50: #FBF6D8;
--color-primary-100: #E5DFBC;
--color-primary-200: #CDC59D;
--color-primary-300: #B4AC7E;
--color-primary-400: #A59C6B;
--color-primary-500: #847B4E;
--color-primary-600: #6C6439;
--color-primary-700: #554E25;
--color-primary-800: #3F3811;
--color-primary-900: #2B2400;
}
Current @theme syntax for bg-brand, text-brand, and scale utilities.
@import "tailwindcss";
@theme {
--color-brand: #A59C6B;
--color-brand-foreground: #000000;
--color-brand-50: #FBF6D8;
--color-brand-100: #E5DFBC;
--color-brand-200: #CDC59D;
--color-brand-300: #B4AC7E;
--color-brand-400: #A59C6B;
--color-brand-500: #847B4E;
--color-brand-600: #6C6439;
--color-brand-700: #554E25;
--color-brand-800: #3F3811;
--color-brand-900: #2B2400;
}
CommonJS theme.extend.colors for JavaScript-config projects.
module.exports = {
theme: {
extend: {
colors: {
brand: {
'50': '#FBF6D8',
'100': '#E5DFBC',
'200': '#CDC59D',
'300': '#B4AC7E',
'400': '#A59C6B',
'500': '#847B4E',
'600': '#6C6439',
'700': '#554E25',
'800': '#3F3811',
'900': '#2B2400',
DEFAULT: '#A59C6B',
foreground: '#000000',
},
},
},
},
};
Semantic source, foreground, OKLCH, and scale variables.
$color-primary: #A59C6B;
$color-on-primary: #000000;
$color-primary-oklch: oklch(68.8425% 0.067539 99.0322);
$color-primary-50: #FBF6D8;
$color-primary-100: #E5DFBC;
$color-primary-200: #CDC59D;
$color-primary-300: #B4AC7E;
$color-primary-400: #A59C6B;
$color-primary-500: #847B4E;
$color-primary-600: #6C6439;
$color-primary-700: #554E25;
$color-primary-800: #3F3811;
$color-primary-900: #2B2400;
Static fallbacks followed by OKLab tint and shade declarations.
:root {
--color-primary: #A59C6B;
--color-primary-tint: #CDC59D;
--color-primary-tint: color-mix(in oklab, var(--color-primary) 72%, white);
--color-primary-shade: #554E25;
--color-primary-shade: color-mix(in oklab, var(--color-primary) 82%, black);
}
Source formats, readable text, and the generated scale.
{
"name": "Soft Light Yellow",
"hex": "#A59C6B",
"rgb": "rgb(165 156 107)",
"oklch": "oklch(68.8425% 0.067539 99.0322)",
"recommendedText": "#000000",
"scale": {
"50": "#FBF6D8",
"100": "#E5DFBC",
"200": "#CDC59D",
"300": "#B4AC7E",
"400": "#A59C6B",
"500": "#847B4E",
"600": "#6C6439",
"700": "#554E25",
"800": "#3F3811",
"900": "#2B2400"
}
}
Continue the decision
Reference values are a starting point. Test the color in its real role, background, states, typography, and surrounding palette before shipping.