#B2B42E#B2B42E
#B2B42E is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.149 H 110.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B42E |
|---|---|
| RGB | rgb(178, 180, 46) |
| HSL | hsl(61, 59%, 44%) |
| HSV | hsv(61, 74%, 71%) |
| CMYK | cmyk(1.1%, 0%, 74.4%, 29.4%) |
| CIE-LAB | lab(71.08, -16.37, 63.35) |
| CIE-LCH | lch(71.08, 65.43, 104.49°) |
| OKLab | oklab(74.51% -0.0517 0.1392) |
| OKLCH | oklch(74.51% 0.149 110.4) |
| XYZ | xyz(35.1757, 42.3057, 8.8971) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.96
Snot
#ACBB0D
ΔE00 3.53
Puke Yellow
#C2BE0E
ΔE00 4.36
Puke
#A5A502
ΔE00 4.51
Olive Yellow
#C2B709
ΔE00 4.55
Vomit
#A2A415
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B42E #302EB4
analogous
#B4732E #B2B42E #6FB42E
triadic
#B2B42E #2EB2B4 #B42EB2
tetradic
#B2B42E #2EB473 #302EB4 #B42E6F
square
#B2B42E #2EB473 #302EB4 #B42E6F
split-complementary
#B2B42E #2E6FB4 #732EB4
monochromatic
#525315 #828322 #B2B42E #D0D24E #DDDE7E
Accessibility & contrast
On white
2.22
#B2B42E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#B2B42E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B42E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B42E | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC10
Deuteranopia (green-blind)
#C4B039
Tritanopia (blue-blind)
#BFA89B
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2b42e; /* rgb */ color: rgb(178, 180, 46); /* oklch */ color: oklch(74.5% 0.149 110.4);
Tailwind
colors: {
custom: {
50: '#cdca71',
500: '#b2b42e',
950: '#000000',
},
}SCSS
$custom: #b2b42e; $custom-light: #cdca71; $custom-dark: #000000;
JSON
{
"hex": "#b2b42e",
"rgb": {
"r": 178,
"g": 180,
"b": 46
},
"hsl": {
"h": 60.896,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.74508,
"c": 0.14854,
"h": 110.4
},
"luminance": 0.42305
}Semantic roles & 50–950 ramp
primary
#B2B42E
secondary
#7877C7
accent
#45E248
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B