#B9A855#B9A855
#B9A855 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.106 H 98.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B9A855 |
|---|---|
| RGB | rgb(185, 168, 85) |
| HSL | hsl(50, 42%, 53%) |
| HSV | hsv(50, 54%, 73%) |
| CMYK | cmyk(0%, 9.2%, 54.1%, 27.5%) |
| CIE-LAB | lab(68.73, -4.64, 44.58) |
| CIE-LCH | lch(68.73, 44.82, 95.95°) |
| OKLab | oklab(72.89% -0.0147 0.1049) |
| OKLCH | oklch(72.89% 0.106 98) |
| XYZ | xyz(35.6511, 38.9769, 14.2379) |
| Luminance | 0.3897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.94
Desert
#CCAD60
ΔE00 5.10
Sandy Brown
#C4A661
ΔE00 5.13
Darkkhaki
#BDB76B
ΔE00 5.17
Sandstone
#C9AE74
ΔE00 6.68
Tan (survey)
#D1B26F
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9A855 #5566B9
analogous
#B97655 #B9A855 #98B955
triadic
#B9A855 #55B9A8 #A855B9
tetradic
#B9A855 #55B976 #5566B9 #B95598
square
#B9A855 #55B976 #5566B9 #B95598
split-complementary
#B9A855 #5598B9 #7655B9
monochromatic
#695E2B #94853D #B9A855 #CBBE80 #DDD4AC
Accessibility & contrast
On white
2.39
#B9A855 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#B9A855 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9A855
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9A855 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9A855 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A44D
Deuteranopia (green-blind)
#BBAA59
Tritanopia (blue-blind)
#C69E95
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b9a855; /* rgb */ color: rgb(185, 168, 85); /* oklch */ color: oklch(72.9% 0.106 98.0);
Tailwind
colors: {
custom: {
50: '#d0c187',
500: '#b9a855',
950: '#000000',
},
}SCSS
$custom: #b9a855; $custom-light: #d0c187; $custom-dark: #000000;
JSON
{
"hex": "#b9a855",
"rgb": {
"r": 185,
"g": 168,
"b": 85
},
"hsl": {
"h": 49.8,
"s": 41.667,
"l": 52.941
},
"oklch": {
"l": 0.72889,
"c": 0.1059,
"h": 98
},
"luminance": 0.38975
}Semantic roles & 50–950 ramp
primary
#B9A855
secondary
#9FA7CB
accent
#6BD156
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C