#B9B62D#B9B62D
#B9B62D is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.150 H 108.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B62D |
|---|---|
| RGB | rgb(185, 182, 45) |
| HSL | hsl(59, 61%, 45%) |
| HSV | hsv(59, 76%, 73%) |
| CMYK | cmyk(0%, 1.6%, 75.7%, 27.5%) |
| CIE-LAB | lab(72.20, -14.41, 64.93) |
| CIE-LCH | lch(72.20, 66.51, 102.51°) |
| OKLab | oklab(75.54% -0.0467 0.1421) |
| OKLCH | oklch(75.54% 0.15 108.2) |
| XYZ | xyz(37.2106, 43.9609, 9.0073) |
| Luminance | 0.4396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.12
Puke Yellow
#C2BE0E
ΔE00 3.17
Mustard Green
#A8B504
ΔE00 4.00
Vomit Yellow
#C7C10C
ΔE00 4.08
Snot
#ACBB0D
ΔE00 4.27
Bile
#B5C306
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B62D #2D30B9
analogous
#B9702D #B9B62D #76B92D
triadic
#B9B62D #2DB9B6 #B62DB9
tetradic
#B9B62D #2DB970 #2D30B9 #B92D76
square
#B9B62D #2DB970 #2D30B9 #B92D76
split-complementary
#B9B62D #2D76B9 #702DB9
monochromatic
#575515 #888621 #B9B62D #D4D14F #E0DE80
Accessibility & contrast
On white
2.14
#B9B62D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B9B62D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B62D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B62D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B62D | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5AE0B
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#C7AA9C
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b9b62d; /* rgb */ color: rgb(185, 182, 45); /* oklch */ color: oklch(75.5% 0.150 108.2);
Tailwind
colors: {
custom: {
50: '#d2cb71',
500: '#b9b62d',
950: '#000000',
},
}SCSS
$custom: #b9b62d; $custom-light: #d2cb71; $custom-dark: #000000;
JSON
{
"hex": "#b9b62d",
"rgb": {
"r": 185,
"g": 182,
"b": 45
},
"hsl": {
"h": 58.714,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.75542,
"c": 0.14962,
"h": 108.2
},
"luminance": 0.4396
}Semantic roles & 50–950 ramp
primary
#B9B62D
secondary
#797BC9
accent
#47E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B