#B4B01D#B4B01D
#B4B01D 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 | #B4B01D |
|---|---|
| RGB | rgb(180, 176, 29) |
| HSL | hsl(58, 72%, 41%) |
| HSV | hsv(58, 84%, 71%) |
| CMYK | cmyk(0%, 2.2%, 83.9%, 29.4%) |
| CIE-LAB | lab(70.07, -14.06, 67.42) |
| CIE-LCH | lch(70.07, 68.87, 101.78°) |
| OKLab | oklab(73.71% -0.0468 0.1448) |
| OKLCH | oklch(73.71% 0.152 107.9) |
| XYZ | xyz(34.5710, 40.8439, 7.2248) |
| Luminance | 0.4084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 3.27
Puke
#A5A502
ΔE00 3.56
Mustard Green
#A8B504
ΔE00 4.01
Puke Yellow
#C2BE0E
ΔE00 4.11
Muddy Yellow
#BFAC05
ΔE00 4.13
Vomit
#A2A415
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B01D #1D21B4
analogous
#B4651D #B4B01D #6CB41D
triadic
#B4B01D #1DB4B0 #B01DB4
tetradic
#B4B01D #1DB465 #1D21B4 #B41D6C
square
#B4B01D #1DB465 #1D21B4 #B41D6C
split-complementary
#B4B01D #1D6CB4 #651DB4
monochromatic
#4B490C #7F7C15 #B4B01D #DED930 #E6E365
Accessibility & contrast
On white
2.29
#B4B01D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#B4B01D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B01D
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B01D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B01D | 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)
#C2AD2C
Tritanopia (blue-blind)
#C2A496
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b4b01d; /* rgb */ color: rgb(180, 176, 29); /* oklch */ color: oklch(73.7% 0.152 107.9);
Tailwind
colors: {
custom: {
50: '#cfc76a',
500: '#b4b01d',
950: '#000000',
},
}SCSS
$custom: #b4b01d; $custom-light: #cfc76a; $custom-dark: #000000;
JSON
{
"hex": "#b4b01d",
"rgb": {
"r": 180,
"g": 176,
"b": 29
},
"hsl": {
"h": 58.411,
"s": 72.249,
"l": 40.98
},
"oklch": {
"l": 0.73714,
"c": 0.15214,
"h": 107.9
},
"luminance": 0.40843
}Semantic roles & 50–950 ramp
primary
#B4B01D
secondary
#6164CB
accent
#3EEF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A