#B8B52E#B8B52E
#B8B52E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.2% C 0.148 H 108.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B52E |
|---|---|
| RGB | rgb(184, 181, 46) |
| HSL | hsl(59, 60%, 45%) |
| HSV | hsv(59, 75%, 72%) |
| CMYK | cmyk(0%, 1.6%, 75%, 27.8%) |
| CIE-LAB | lab(71.85, -14.29, 64.25) |
| CIE-LCH | lch(71.85, 65.82, 102.54°) |
| OKLab | oklab(75.24% -0.0463 0.1409) |
| OKLCH | oklch(75.24% 0.148 108.2) |
| XYZ | xyz(36.7856, 43.4366, 9.0306) |
| Luminance | 0.4344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.31
Puke Yellow
#C2BE0E
ΔE00 3.47
Mustard Green
#A8B504
ΔE00 3.99
Snot
#ACBB0D
ΔE00 4.35
Vomit Yellow
#C7C10C
ΔE00 4.39
Puke
#A5A502
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B52E #2E31B8
analogous
#B8702E #B8B52E #76B82E
triadic
#B8B52E #2EB8B5 #B52EB8
tetradic
#B8B52E #2EB870 #2E31B8 #B82E76
square
#B8B52E #2EB870 #2E31B8 #B82E76
split-complementary
#B8B52E #2E76B8 #702EB8
monochromatic
#565516 #878522 #B8B52E #D3D050 #DFDD81
Accessibility & contrast
On white
2.17
#B8B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#B8B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B52E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B52E | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AE0F
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C5A99B
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #b8b52e; /* rgb */ color: rgb(184, 181, 46); /* oklch */ color: oklch(75.2% 0.148 108.2);
Tailwind
colors: {
custom: {
50: '#d1ca71',
500: '#b8b52e',
950: '#000000',
},
}SCSS
$custom: #b8b52e; $custom-light: #d1ca71; $custom-dark: #000000;
JSON
{
"hex": "#b8b52e",
"rgb": {
"r": 184,
"g": 181,
"b": 46
},
"hsl": {
"h": 58.696,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.75243,
"c": 0.1483,
"h": 108.2
},
"luminance": 0.43435
}Semantic roles & 50–950 ramp
primary
#B8B52E
secondary
#797BC8
accent
#48E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B