#B2B442#B2B442
#B2B442 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.135 H 110.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B442 |
|---|---|
| RGB | rgb(178, 180, 66) |
| HSL | hsl(61, 46%, 48%) |
| HSV | hsv(61, 63%, 71%) |
| CMYK | cmyk(1.1%, 0%, 63.3%, 29.4%) |
| CIE-LAB | lab(71.22, -15.29, 55.89) |
| CIE-LCH | lch(71.22, 57.95, 105.30°) |
| OKLab | oklab(74.66% -0.0467 0.1268) |
| OKLCH | oklch(74.66% 0.135 110.2) |
| XYZ | xyz(35.6658, 42.5018, 11.4781) |
| Luminance | 0.4250 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 4.45
Snot
#ACBB0D
ΔE00 4.84
Vomit
#A2A415
ΔE00 5.34
Puke
#A5A502
ΔE00 5.53
Puke Green
#9AAE07
ΔE00 5.58
Booger
#9BB53C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B442 #4442B4
analogous
#B47D42 #B2B442 #79B442
triadic
#B2B442 #42B2B4 #B442B2
tetradic
#B2B442 #42B47D #4442B4 #B44279
square
#B2B442 #42B47D #4442B4 #B44279
split-complementary
#B2B442 #4279B4 #7D42B4
monochromatic
#595A21 #868732 #B2B442 #C7C96B #D8D997
Accessibility & contrast
On white
2.21
#B2B442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#B2B442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B442
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B442 | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#C3B049
Tritanopia (blue-blind)
#BEA99C
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #b2b442; /* rgb */ color: rgb(178, 180, 66); /* oklch */ color: oklch(74.7% 0.135 110.2);
Tailwind
colors: {
custom: {
50: '#ccca7c',
500: '#b2b442',
950: '#000000',
},
}SCSS
$custom: #b2b442; $custom-light: #ccca7c; $custom-dark: #000000;
JSON
{
"hex": "#b2b442",
"rgb": {
"r": 178,
"g": 180,
"b": 66
},
"hsl": {
"h": 61.053,
"s": 46.341,
"l": 48.235
},
"oklch": {
"l": 0.74659,
"c": 0.13518,
"h": 110.2
},
"luminance": 0.42501
}Semantic roles & 50–950 ramp
primary
#B2B442
secondary
#8E8DC5
accent
#52D654
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C