#B8B02E#B8B02E
#B8B02E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.144 H 105.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B8B02E |
|---|---|
| RGB | rgb(184, 176, 46) |
| HSL | hsl(57, 60%, 45%) |
| HSV | hsv(57, 75%, 72%) |
| CMYK | cmyk(0%, 4.3%, 75%, 27.8%) |
| CIE-LAB | lab(70.48, -11.72, 62.97) |
| CIE-LCH | lch(70.48, 64.06, 100.54°) |
| OKLab | oklab(74.15% -0.0391 0.1382) |
| OKLCH | oklch(74.15% 0.144 105.8) |
| XYZ | xyz(35.7871, 41.4396, 8.6978) |
| Luminance | 0.4144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.41
Muddy Yellow
#BFAC05
ΔE00 3.73
Puke
#A5A502
ΔE00 4.34
Puke Yellow
#C2BE0E
ΔE00 4.55
Vomit
#A2A415
ΔE00 4.80
Mustard Green
#A8B504
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8B02E #2E36B8
analogous
#B86B2E #B8B02E #7BB82E
triadic
#B8B02E #2EB8B0 #B02EB8
tetradic
#B8B02E #2EB86B #2E36B8 #B82E7B
square
#B8B02E #2EB86B #2E36B8 #B82E7B
split-complementary
#B8B02E #2E7BB8 #6B2EB8
monochromatic
#565216 #878122 #B8B02E #D3CC50 #DFDA81
Accessibility & contrast
On white
2.26
#B8B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#B8B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8B02E
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8B02E | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A912
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C6A497
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b8b02e; /* rgb */ color: rgb(184, 176, 46); /* oklch */ color: oklch(74.2% 0.144 105.8);
Tailwind
colors: {
custom: {
50: '#d1c771',
500: '#b8b02e',
950: '#000000',
},
}SCSS
$custom: #b8b02e; $custom-light: #d1c771; $custom-dark: #000000;
JSON
{
"hex": "#b8b02e",
"rgb": {
"r": 184,
"g": 176,
"b": 46
},
"hsl": {
"h": 56.522,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.74153,
"c": 0.14361,
"h": 105.8
},
"luminance": 0.41438
}Semantic roles & 50–950 ramp
primary
#B8B02E
secondary
#797EC8
accent
#4EE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B