#B4B41E#B4B41E
#B4B41E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.155 H 109.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B41E |
|---|---|
| RGB | rgb(180, 180, 30) |
| HSL | hsl(60, 71%, 41%) |
| HSV | hsv(60, 83%, 71%) |
| CMYK | cmyk(0%, 0%, 83.3%, 29.4%) |
| CIE-LAB | lab(71.17, -16.08, 68.11) |
| CIE-LCH | lch(71.17, 69.98, 103.28°) |
| OKLab | oklab(74.6% -0.0523 0.1465) |
| OKLCH | oklch(74.6% 0.156 109.6) |
| XYZ | xyz(35.3794, 42.4407, 7.5563) |
| Luminance | 0.4244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.00
Puke Yellow
#C2BE0E
ΔE00 3.42
Olive Yellow
#C2B709
ΔE00 3.43
Snot
#ACBB0D
ΔE00 3.58
Puke
#A5A502
ΔE00 4.34
Vomit Yellow
#C7C10C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B41E #1E1EB4
analogous
#B4691E #B4B41E #69B41E
triadic
#B4B41E #1EB4B4 #B41EB4
tetradic
#B4B41E #1EB469 #1E1EB4 #B41E69
square
#B4B41E #1EB469 #1E1EB4 #B41E69
split-complementary
#B4B41E #1E69B4 #691EB4
monochromatic
#4B4B0D #808015 #B4B41E #DDDD32 #E6E667
Accessibility & contrast
On white
2.21
#B4B41E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#B4B41E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B41E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B41E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B41E | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B02E
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b4b41e; /* rgb */ color: rgb(180, 180, 30); /* oklch */ color: oklch(74.6% 0.155 109.6);
Tailwind
colors: {
custom: {
50: '#cfca6b',
500: '#b4b41e',
950: '#000000',
},
}SCSS
$custom: #b4b41e; $custom-light: #cfca6b; $custom-dark: #000000;
JSON
{
"hex": "#b4b41e",
"rgb": {
"r": 180,
"g": 180,
"b": 30
},
"hsl": {
"h": 60,
"s": 71.429,
"l": 41.176
},
"oklch": {
"l": 0.746,
"c": 0.1555,
"h": 109.6
},
"luminance": 0.4244
}Semantic roles & 50–950 ramp
primary
#B4B41E
secondary
#6363CB
accent
#3AEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A