#B4B02E#B4B02E
#B4B02E is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.144 H 107.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B02E |
|---|---|
| RGB | rgb(180, 176, 46) |
| HSL | hsl(58, 59%, 44%) |
| HSV | hsv(58, 74%, 71%) |
| CMYK | cmyk(0%, 2.2%, 74.4%, 29.4%) |
| CIE-LAB | lab(70.14, -13.46, 62.53) |
| CIE-LCH | lch(70.14, 63.97, 102.15°) |
| OKLab | oklab(73.8% -0.0437 0.1374) |
| OKLCH | oklch(73.8% 0.144 107.7) |
| XYZ | xyz(34.8422, 40.9524, 8.6535) |
| Luminance | 0.4095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.85
Olive Yellow
#C2B709
ΔE00 4.02
Vomit
#A2A415
ΔE00 4.16
Mustard Green
#A8B504
ΔE00 4.32
Muddy Yellow
#BFAC05
ΔE00 4.67
Puke Yellow
#C2BE0E
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B02E #2E32B4
analogous
#B46D2E #B4B02E #75B42E
triadic
#B4B02E #2EB4B0 #B02EB4
tetradic
#B4B02E #2EB46D #2E32B4 #B42E75
square
#B4B02E #2EB46D #2E32B4 #B42E75
split-complementary
#B4B02E #2E75B4 #6D2EB4
monochromatic
#535115 #838022 #B4B02E #D2CE4E #DEDB7E
Accessibility & contrast
On white
2.29
#B4B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B4B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B02E
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B02E | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b4b02e; /* rgb */ color: rgb(180, 176, 46); /* oklch */ color: oklch(73.8% 0.144 107.7);
Tailwind
colors: {
custom: {
50: '#cec771',
500: '#b4b02e',
950: '#000000',
},
}SCSS
$custom: #b4b02e; $custom-light: #cec771; $custom-dark: #000000;
JSON
{
"hex": "#b4b02e",
"rgb": {
"r": 180,
"g": 176,
"b": 46
},
"hsl": {
"h": 58.209,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73799,
"c": 0.1442,
"h": 107.7
},
"luminance": 0.40951
}Semantic roles & 50–950 ramp
primary
#B4B02E
secondary
#7779C7
accent
#4AE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B