#B9B76E#B9B76E
#B9B76E is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.095 H 107.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B9B76E |
|---|---|
| RGB | rgb(185, 183, 110) |
| HSL | hsl(58, 35%, 58%) |
| HSV | hsv(58, 41%, 73%) |
| CMYK | cmyk(0%, 1.1%, 40.5%, 27.5%) |
| CIE-LAB | lab(73.09, -10.10, 37.33) |
| CIE-LCH | lch(73.09, 38.67, 105.13°) |
| OKLab | oklab(76.45% -0.0279 0.0907) |
| OKLCH | oklch(76.45% 0.095 107.1) |
| XYZ | xyz(39.7562, 45.3079, 21.3999) |
| Luminance | 0.4531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.35
Khaki (survey)
#AAA662
ΔE00 4.78
Light Olive
#ACBF69
ΔE00 5.66
Tan Green
#A9BE70
ΔE00 6.05
Greenish Tan
#BCCB7A
ΔE00 6.24
Sand
#C2B280
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9B76E #6E70B9
analogous
#B9916E #B9B76E #95B96E
triadic
#B9B76E #6EB9B7 #B76EB9
tetradic
#B9B76E #6EB991 #6E70B9 #B96E95
square
#B9B76E #6EB991 #6E70B9 #B96E95
split-complementary
#B9B76E #6E95B9 #916EB9
monochromatic
#747338 #9E9C4C #B9B76E #CDCB97 #E1E0C1
Accessibility & contrast
On white
2.09
#B9B76E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#B9B76E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9B76E
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9B76E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9B76E | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B268
Deuteranopia (green-blind)
#C4B571
Tritanopia (blue-blind)
#C3AEA5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b9b76e; /* rgb */ color: rgb(185, 183, 110); /* oklch */ color: oklch(76.5% 0.095 107.1);
Tailwind
colors: {
custom: {
50: '#cfcc99',
500: '#b9b76e',
950: '#000000',
},
}SCSS
$custom: #b9b76e; $custom-light: #cfcc99; $custom-dark: #000000;
JSON
{
"hex": "#b9b76e",
"rgb": {
"r": 185,
"g": 183,
"b": 110
},
"hsl": {
"h": 58.4,
"s": 34.884,
"l": 57.843
},
"oklch": {
"l": 0.76452,
"c": 0.09489,
"h": 107.1
},
"luminance": 0.45307
}Semantic roles & 50–950 ramp
primary
#B9B76E
secondary
#B2B3D0
accent
#60CB5D
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E