#B9A862#B9A862
#B9A862 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.093 H 96.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A862 |
|---|---|
| RGB | rgb(185, 168, 98) |
| HSL | hsl(48, 38%, 55%) |
| HSV | hsv(48, 47%, 73%) |
| CMYK | cmyk(0%, 9.2%, 47%, 27.5%) |
| CIE-LAB | lab(68.90, -3.45, 38.24) |
| CIE-LCH | lch(68.90, 38.39, 95.16°) |
| OKLab | oklab(73.07% -0.0098 0.092) |
| OKLCH | oklch(73.07% 0.093 96.1) |
| XYZ | xyz(36.2159, 39.2028, 17.2121) |
| Luminance | 0.3920 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 4.19
Khaki (survey)
#AAA662
ΔE00 4.31
Desert
#CCAD60
ΔE00 4.80
Darkkhaki
#BDB76B
ΔE00 5.04
Sandstone
#C9AE74
ΔE00 5.06
Sand
#C2B280
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A862 #6273B9
analogous
#B97C62 #B9A862 #9EB962
triadic
#B9A862 #62B9A8 #A862B9
tetradic
#B9A862 #62B97C #6273B9 #B9629E
square
#B9A862 #62B97C #6273B9 #B9629E
split-complementary
#B9A862 #629EB9 #7C62B9
monochromatic
#6F6332 #998944 #B9A862 #CCBF8C #DFD7B7
Accessibility & contrast
On white
2.38
#B9A862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#B9A862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A862
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A862 | 1.00 | 2.38 | 8.84 | 8.84 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#B9AB65
Tritanopia (blue-blind)
#C59F97
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b9a862; /* rgb */ color: rgb(185, 168, 98); /* oklch */ color: oklch(73.1% 0.093 96.1);
Tailwind
colors: {
custom: {
50: '#d0c190',
500: '#b9a862',
950: '#000000',
},
}SCSS
$custom: #b9a862; $custom-light: #d0c190; $custom-dark: #000000;
JSON
{
"hex": "#b9a862",
"rgb": {
"r": 185,
"g": 168,
"b": 98
},
"hsl": {
"h": 48.276,
"s": 38.326,
"l": 55.49
},
"oklch": {
"l": 0.73072,
"c": 0.09252,
"h": 96.1
},
"luminance": 0.39201
}Semantic roles & 50–950 ramp
primary
#B9A862
secondary
#A9B0CE
accent
#70CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D