#B1B42E#B1B42E
#B1B42E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.149 H 110.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B1B42E |
|---|---|
| RGB | rgb(177, 180, 46) |
| HSL | hsl(61, 59%, 44%) |
| HSV | hsv(61, 74%, 71%) |
| CMYK | cmyk(1.7%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(71.00, -16.80, 63.25) |
| CIE-LCH | lch(71.00, 65.44, 104.88°) |
| OKLab | oklab(74.42% -0.0529 0.139) |
| OKLCH | oklch(74.42% 0.149 110.8) |
| XYZ | xyz(34.9471, 42.1878, 8.8864) |
| Luminance | 0.4219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.79
Snot
#ACBB0D
ΔE00 3.38
Puke Yellow
#C2BE0E
ΔE00 4.52
Puke
#A5A502
ΔE00 4.52
Vomit
#A2A415
ΔE00 4.65
Puke Green
#9AAE07
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1B42E #312EB4
analogous
#B4742E #B1B42E #6EB42E
triadic
#B1B42E #2EB1B4 #B42EB1
tetradic
#B1B42E #2EB474 #312EB4 #B42E6E
square
#B1B42E #2EB474 #312EB4 #B42E6E
split-complementary
#B1B42E #2E6EB4 #742EB4
monochromatic
#515315 #818322 #B1B42E #CFD24E #DCDE7E
Accessibility & contrast
On white
2.23
#B1B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#B1B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1B42E
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1B42E | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b1b42e; /* rgb */ color: rgb(177, 180, 46); /* oklch */ color: oklch(74.4% 0.149 110.8);
Tailwind
colors: {
custom: {
50: '#ccca71',
500: '#b1b42e',
950: '#000000',
},
}SCSS
$custom: #b1b42e; $custom-light: #ccca71; $custom-dark: #000000;
JSON
{
"hex": "#b1b42e",
"rgb": {
"r": 177,
"g": 180,
"b": 46
},
"hsl": {
"h": 61.343,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.74424,
"c": 0.14876,
"h": 110.8
},
"luminance": 0.42187
}Semantic roles & 50–950 ramp
primary
#B1B42E
secondary
#7977C7
accent
#45E249
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B