#B4B22E#B4B22E
#B4B22E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.146 H 108.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B4B22E |
|---|---|
| RGB | rgb(180, 178, 46) |
| HSL | hsl(59, 59%, 44%) |
| HSV | hsv(59, 74%, 71%) |
| CMYK | cmyk(0%, 1.1%, 74.4%, 29.4%) |
| CIE-LAB | lab(70.69, -14.49, 63.05) |
| CIE-LCH | lch(70.69, 64.69, 102.94°) |
| OKLab | oklab(74.24% -0.0466 0.1385) |
| OKLCH | oklch(74.24% 0.146 108.6) |
| XYZ | xyz(35.2373, 41.7425, 8.7852) |
| Luminance | 0.4174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 4.00
Puke
#A5A502
ΔE00 4.15
Puke Yellow
#C2BE0E
ΔE00 4.35
Vomit
#A2A415
ΔE00 4.44
Snot
#ACBB0D
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4B22E #2E30B4
analogous
#B46F2E #B4B22E #73B42E
triadic
#B4B22E #2EB4B2 #B22EB4
tetradic
#B4B22E #2EB46F #2E30B4 #B42E73
square
#B4B22E #2EB46F #2E30B4 #B42E73
split-complementary
#B4B22E #2E73B4 #6F2EB4
monochromatic
#535215 #838222 #B4B22E #D2D04E #DEDD7E
Accessibility & contrast
On white
2.25
#B4B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#B4B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4B22E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4B22E | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB11
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C1A699
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b4b22e; /* rgb */ color: rgb(180, 178, 46); /* oklch */ color: oklch(74.2% 0.146 108.6);
Tailwind
colors: {
custom: {
50: '#cec871',
500: '#b4b22e',
950: '#000000',
},
}SCSS
$custom: #b4b22e; $custom-light: #cec871; $custom-dark: #000000;
JSON
{
"hex": "#b4b22e",
"rgb": {
"r": 180,
"g": 178,
"b": 46
},
"hsl": {
"h": 59.104,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.74238,
"c": 0.14614,
"h": 108.6
},
"luminance": 0.41741
}Semantic roles & 50–950 ramp
primary
#B4B22E
secondary
#7778C7
accent
#48E245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B