#B8B552#B8B552
#B8B552 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.6% C 0.122 H 107.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B552 |
|---|---|
| RGB | rgb(184, 181, 82) |
| HSL | hsl(58, 42%, 52%) |
| HSV | hsv(58, 55%, 72%) |
| CMYK | cmyk(0%, 1.6%, 55.4%, 27.8%) |
| CIE-LAB | lab(72.13, -12.11, 49.92) |
| CIE-LCH | lch(72.13, 51.37, 103.64°) |
| OKLab | oklab(75.55% -0.0364 0.1161) |
| OKLCH | oklch(75.55% 0.122 107.4) |
| XYZ | xyz(37.8151, 43.8484, 14.4526) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.79
Khaki (survey)
#AAA662
ΔE00 6.31
Mustard Green
#A8B504
ΔE00 6.62
Light Olive
#ACBF69
ΔE00 6.73
Olive Yellow
#C2B709
ΔE00 6.76
Snot
#ACBB0D
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B552 #5255B8
analogous
#B88252 #B8B552 #88B852
triadic
#B8B552 #52B8B5 #B552B8
tetradic
#B8B552 #52B882 #5255B8 #B85288
square
#B8B552 #52B882 #5255B8 #B85288
split-complementary
#B8B552 #5288B8 #8252B8
monochromatic
#66642A #918F3C #B8B552 #CAC87D #DCDAA9
Accessibility & contrast
On white
2.15
#B8B552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#B8B552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B552
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B552 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF48
Deuteranopia (green-blind)
#C4B357
Tritanopia (blue-blind)
#C4AB9F
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b8b552; /* rgb */ color: rgb(184, 181, 82); /* oklch */ color: oklch(75.6% 0.122 107.4);
Tailwind
colors: {
custom: {
50: '#d0cb86',
500: '#b8b552',
950: '#000000',
},
}SCSS
$custom: #b8b552; $custom-light: #d0cb86; $custom-dark: #000000;
JSON
{
"hex": "#b8b552",
"rgb": {
"r": 184,
"g": 181,
"b": 82
},
"hsl": {
"h": 58.235,
"s": 41.803,
"l": 52.157
},
"oklch": {
"l": 0.75552,
"c": 0.12168,
"h": 107.4
},
"luminance": 0.43847
}Semantic roles & 50–950 ramp
primary
#B8B552
secondary
#9D9EC9
accent
#5AD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C