#B9A241#B9A241
#B9A241 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.119 H 95.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A241 |
|---|---|
| RGB | rgb(185, 162, 65) |
| HSL | hsl(49, 48%, 49%) |
| HSV | hsv(49, 65%, 73%) |
| CMYK | cmyk(0%, 12.4%, 64.9%, 27.5%) |
| CIE-LAB | lab(66.93, -2.92, 51.95) |
| CIE-LCH | lch(66.93, 52.03, 93.22°) |
| OKLab | oklab(71.4% -0.0121 0.1182) |
| OKLCH | oklch(71.4% 0.119 95.9) |
| XYZ | xyz(33.8836, 36.5383, 10.2678) |
| Luminance | 0.3654 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.09
Ocher
#BF9B0C
ΔE00 5.31
Dark Gold
#B59410
ΔE00 5.60
Desert
#CCAD60
ΔE00 5.69
Sandy Brown
#C4A661
ΔE00 5.70
Muddy Yellow
#BFAC05
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A241 #4158B9
analogous
#B96641 #B9A241 #94B941
triadic
#B9A241 #41B9A2 #A241B9
tetradic
#B9A241 #41B966 #4158B9 #B94194
square
#B9A241 #41B966 #4158B9 #B94194
split-complementary
#B9A241 #4194B9 #6641B9
monochromatic
#5E5321 #8C7A31 #B9A241 #CBB96C #DBCF99
Accessibility & contrast
On white
2.53
#B9A241 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#B9A241 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A241
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A241 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A241 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C7968D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b9a241; /* rgb */ color: rgb(185, 162, 65); /* oklch */ color: oklch(71.4% 0.119 95.9);
Tailwind
colors: {
custom: {
50: '#d1bd7a',
500: '#b9a241',
950: '#000000',
},
}SCSS
$custom: #b9a241; $custom-light: #d1bd7a; $custom-dark: #000000;
JSON
{
"hex": "#b9a241",
"rgb": {
"r": 185,
"g": 162,
"b": 65
},
"hsl": {
"h": 48.5,
"s": 48,
"l": 49.02
},
"oklch": {
"l": 0.71395,
"c": 0.11877,
"h": 95.9
},
"luminance": 0.36537
}Semantic roles & 50–950 ramp
primary
#B9A241
secondary
#8F99C7
accent
#6AD850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B