#B2B41E#B2B41E
#B2B41E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.156 H 110.5°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B41E |
|---|---|
| RGB | rgb(178, 180, 30) |
| HSL | hsl(61, 71%, 41%) |
| HSV | hsv(61, 83%, 71%) |
| CMYK | cmyk(1.1%, 0%, 83.3%, 29.4%) |
| CIE-LAB | lab(71.01, -16.95, 67.91) |
| CIE-LCH | lch(71.01, 69.99, 104.01°) |
| OKLab | oklab(74.43% -0.0546 0.1461) |
| OKLCH | oklch(74.43% 0.156 110.5) |
| XYZ | xyz(34.9170, 42.2023, 7.5346) |
| Luminance | 0.4220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Snot
#ACBB0D
ΔE00 3.18
Puke Yellow
#C2BE0E
ΔE00 3.71
Olive Yellow
#C2B709
ΔE00 3.91
Puke
#A5A502
ΔE00 4.27
Bile
#B5C306
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B41E #201EB4
analogous
#B46B1E #B2B41E #67B41E
triadic
#B2B41E #1EB2B4 #B41EB2
tetradic
#B2B41E #1EB46B #201EB4 #B41E67
square
#B2B41E #1EB46B #201EB4 #B41E67
split-complementary
#B2B41E #1E67B4 #6B1EB4
monochromatic
#4A4B0D #7E8015 #B2B41E #DBDD32 #E4E667
Accessibility & contrast
On white
2.22
#B2B41E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#B2B41E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B41E
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B41E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B41E | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 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)
#C3AC00
Deuteranopia (green-blind)
#C4B02E
Tritanopia (blue-blind)
#BFA89A
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2b41e; /* rgb */ color: rgb(178, 180, 30); /* oklch */ color: oklch(74.4% 0.156 110.5);
Tailwind
colors: {
custom: {
50: '#cdca6b',
500: '#b2b41e',
950: '#000000',
},
}SCSS
$custom: #b2b41e; $custom-light: #cdca6b; $custom-dark: #000000;
JSON
{
"hex": "#b2b41e",
"rgb": {
"r": 178,
"g": 180,
"b": 30
},
"hsl": {
"h": 60.8,
"s": 71.429,
"l": 41.176
},
"oklch": {
"l": 0.74429,
"c": 0.15597,
"h": 110.5
},
"luminance": 0.42201
}Semantic roles & 50–950 ramp
primary
#B2B41E
secondary
#6463CB
accent
#3AEE3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A