#B4B01E#B4B01E
#B4B01E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.152 H 107.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B01E |
|---|---|
| RGB | rgb(180, 176, 30) |
| HSL | hsl(58, 71%, 41%) |
| HSV | hsv(58, 83%, 71%) |
| CMYK | cmyk(0%, 2.2%, 83.3%, 29.4%) |
| CIE-LAB | lab(70.07, -14.04, 67.18) |
| CIE-LCH | lch(70.07, 68.63, 101.80°) |
| OKLab | oklab(73.72% -0.0466 0.1444) |
| OKLCH | oklch(73.72% 0.152 107.9) |
| XYZ | xyz(34.5835, 40.8489, 7.2910) |
| Luminance | 0.4085 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.30
Puke
#A5A502
ΔE00 3.57
Mustard Green
#A8B504
ΔE00 4.02
Puke Yellow
#C2BE0E
ΔE00 4.13
Muddy Yellow
#BFAC05
ΔE00 4.15
Vomit
#A2A415
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B01E #1E22B4
analogous
#B4651E #B4B01E #6DB41E
triadic
#B4B01E #1EB4B0 #B01EB4
tetradic
#B4B01E #1EB465 #1E22B4 #B41E6D
square
#B4B01E #1EB465 #1E22B4 #B41E6D
split-complementary
#B4B01E #1E6DB4 #651EB4
monochromatic
#4B490D #807D15 #B4B01E #DDD832 #E6E267
Accessibility & contrast
On white
2.29
#B4B01E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#B4B01E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B01E
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B01E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B01E | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C2AD2D
Tritanopia (blue-blind)
#C2A496
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b4b01e; /* rgb */ color: rgb(180, 176, 30); /* oklch */ color: oklch(73.7% 0.152 107.9);
Tailwind
colors: {
custom: {
50: '#cfc76a',
500: '#b4b01e',
950: '#000000',
},
}SCSS
$custom: #b4b01e; $custom-light: #cfc76a; $custom-dark: #000000;
JSON
{
"hex": "#b4b01e",
"rgb": {
"r": 180,
"g": 176,
"b": 30
},
"hsl": {
"h": 58.4,
"s": 71.429,
"l": 41.176
},
"oklch": {
"l": 0.73718,
"c": 0.15177,
"h": 107.9
},
"luminance": 0.40848
}Semantic roles & 50–950 ramp
primary
#B4B01E
secondary
#6366CB
accent
#3EEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A