#B8A259#B8A259
#B8A259 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.097 H 93.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A259 |
|---|---|
| RGB | rgb(184, 162, 89) |
| HSL | hsl(46, 40%, 54%) |
| HSV | hsv(46, 52%, 72%) |
| CMYK | cmyk(0%, 12%, 51.6%, 27.8%) |
| CIE-LAB | lab(67.09, -1.52, 40.60) |
| CIE-LCH | lch(67.09, 40.63, 92.14°) |
| OKLab | oklab(71.58% -0.0051 0.0966) |
| OKLCH | oklch(71.58% 0.097 93) |
| XYZ | xyz(34.4919, 36.7538, 14.7266) |
| Luminance | 0.3675 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.26
Desert
#CCAD60
ΔE00 4.52
Sandstone
#C9AE74
ΔE00 5.44
Camel (survey)
#C69F59
ΔE00 5.55
Sand Brown
#CBA560
ΔE00 5.59
Khaki (survey)
#AAA662
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A259 #596FB8
analogous
#B87259 #B8A259 #9EB859
triadic
#B8A259 #59B8A2 #A259B8
tetradic
#B8A259 #59B872 #596FB8 #B8599E
square
#B8A259 #59B872 #596FB8 #B8599E
split-complementary
#B8A259 #599EB8 #7259B8
monochromatic
#695C2D #94813F #B8A259 #CABA84 #DDD2AF
Accessibility & contrast
On white
2.51
#B8A259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#B8A259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A259
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A259 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09F53
Deuteranopia (green-blind)
#B5A65C
Tritanopia (blue-blind)
#C59891
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b8a259; /* rgb */ color: rgb(184, 162, 89); /* oklch */ color: oklch(71.6% 0.097 93.0);
Tailwind
colors: {
custom: {
50: '#cfbd89',
500: '#b8a259',
950: '#000000',
},
}SCSS
$custom: #b8a259; $custom-light: #cfbd89; $custom-dark: #000000;
JSON
{
"hex": "#b8a259",
"rgb": {
"r": 184,
"g": 162,
"b": 89
},
"hsl": {
"h": 46.105,
"s": 40.084,
"l": 53.529
},
"oklch": {
"l": 0.71584,
"c": 0.0967,
"h": 93
},
"luminance": 0.36752
}Semantic roles & 50–950 ramp
primary
#B8A259
secondary
#A2ABCB
accent
#74D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D