#B2BF42#B2BF42
#B2BF42 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.147 H 115.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BF42 |
|---|---|
| RGB | rgb(178, 191, 66) |
| HSL | hsl(66, 49%, 50%) |
| HSV | hsv(66, 65%, 75%) |
| CMYK | cmyk(6.8%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.27, -20.82, 59.09) |
| CIE-LCH | lch(74.27, 62.65, 109.41°) |
| OKLab | oklab(77.1% -0.0623 0.1336) |
| OKLCH | oklch(77.1% 0.147 115) |
| XYZ | xyz(37.9752, 47.1205, 12.2479) |
| Luminance | 0.4712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.50
Snot
#ACBB0D
ΔE00 3.56
Sick Green
#9DB92C
ΔE00 3.97
Bile
#B5C306
ΔE00 4.18
Gross Green
#A0BF16
ΔE00 4.27
Baby Puke Green
#B6C406
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BF42 #4F42BF
analogous
#BF8D42 #B2BF42 #73BF42
triadic
#B2BF42 #42B2BF #BF42B2
tetradic
#B2BF42 #42BF8D #4F42BF #BF4273
square
#B2BF42 #42BF8D #4F42BF #BF4273
split-complementary
#B2BF42 #4273BF #8D42BF
monochromatic
#5E6522 #889232 #B2BF42 #C5CE70 #D7DE9D
Accessibility & contrast
On white
2.01
#B2BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#B2BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BF42
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BF42 | 1.00 | 2.01 | 10.42 | 10.42 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#BDB4A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b2bf42; /* rgb */ color: rgb(178, 191, 66); /* oklch */ color: oklch(77.1% 0.147 115.0);
Tailwind
colors: {
custom: {
50: '#ccd27d',
500: '#b2bf42',
950: '#000000',
},
}SCSS
$custom: #b2bf42; $custom-light: #ccd27d; $custom-dark: #000000;
JSON
{
"hex": "#b2bf42",
"rgb": {
"r": 178,
"g": 191,
"b": 66
},
"hsl": {
"h": 66.24,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.771,
"c": 0.14738,
"h": 115
},
"luminance": 0.4712
}Semantic roles & 50–950 ramp
primary
#B2BF42
secondary
#9893CA
accent
#4FD95D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C