#B8A652#B8A652
#B8A652 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.107 H 97.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B8A652 |
|---|---|
| RGB | rgb(184, 166, 82) |
| HSL | hsl(49, 42%, 52%) |
| HSV | hsv(49, 55%, 72%) |
| CMYK | cmyk(0%, 9.8%, 55.4%, 27.8%) |
| CIE-LAB | lab(68.07, -4.26, 45.25) |
| CIE-LCH | lch(68.07, 45.45, 95.37°) |
| OKLab | oklab(72.33% -0.0138 0.1061) |
| OKLCH | oklch(72.33% 0.107 97.4) |
| XYZ | xyz(34.9276, 38.0734, 13.4901) |
| Luminance | 0.3807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 5.03
Desert
#CCAD60
ΔE00 5.16
Khaki (survey)
#AAA662
ΔE00 5.19
Darkkhaki
#BDB76B
ΔE00 5.80
Sandstone
#C9AE74
ΔE00 6.86
Tan (survey)
#D1B26F
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8A652 #5264B8
analogous
#B87352 #B8A652 #97B852
triadic
#B8A652 #52B8A6 #A652B8
tetradic
#B8A652 #52B873 #5264B8 #B85297
square
#B8A652 #52B873 #5264B8 #B85297
split-complementary
#B8A652 #5297B8 #7352B8
monochromatic
#665B2A #91823C #B8A652 #CABC7D #DCD3A9
Accessibility & contrast
On white
2.44
#B8A652 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#B8A652 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8A652
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8A652 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8A652 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A24A
Deuteranopia (green-blind)
#B9A956
Tritanopia (blue-blind)
#C59B93
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b8a652; /* rgb */ color: rgb(184, 166, 82); /* oklch */ color: oklch(72.3% 0.107 97.4);
Tailwind
colors: {
custom: {
50: '#d0c085',
500: '#b8a652',
950: '#000000',
},
}SCSS
$custom: #b8a652; $custom-light: #d0c085; $custom-dark: #000000;
JSON
{
"hex": "#b8a652",
"rgb": {
"r": 184,
"g": 166,
"b": 82
},
"hsl": {
"h": 49.412,
"s": 41.803,
"l": 52.157
},
"oklch": {
"l": 0.72334,
"c": 0.10695,
"h": 97.4
},
"luminance": 0.38072
}Semantic roles & 50–950 ramp
primary
#B8A652
secondary
#9DA4C9
accent
#6CD256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C