#B2BF40#B2BF40
#B2BF40 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.149 H 115.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BF40 |
|---|---|
| RGB | rgb(178, 191, 64) |
| HSL | hsl(66, 50%, 50%) |
| HSV | hsv(66, 66%, 75%) |
| CMYK | cmyk(6.8%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(74.25, -20.94, 59.87) |
| CIE-LCH | lch(74.25, 63.43, 109.28°) |
| OKLab | oklab(77.08% -0.0628 0.1349) |
| OKLCH | oklch(77.08% 0.149 115) |
| XYZ | xyz(37.9173, 47.0974, 11.9428) |
| Luminance | 0.4710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.36
Pea
#A4BF20
ΔE00 3.38
Sick Green
#9DB92C
ΔE00 3.95
Bile
#B5C306
ΔE00 3.97
Baby Puke Green
#B6C406
ΔE00 4.09
Gross Green
#A0BF16
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BF40 #4D40BF
analogous
#BF8D40 #B2BF40 #72BF40
triadic
#B2BF40 #40B2BF #BF40B2
tetradic
#B2BF40 #40BF8D #4D40BF #BF4072
square
#B2BF40 #40BF8D #4D40BF #BF4072
split-complementary
#B2BF40 #4072BF #8D40BF
monochromatic
#5D6321 #879131 #B2BF40 #C4CE6E #D7DE9C
Accessibility & contrast
On white
2.02
#B2BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#B2BF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BF40
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BF40 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 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)
#CCB62E
Deuteranopia (green-blind)
#CBB849
Tritanopia (blue-blind)
#BDB4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b2bf40; /* rgb */ color: rgb(178, 191, 64); /* oklch */ color: oklch(77.1% 0.149 115.0);
Tailwind
colors: {
custom: {
50: '#ccd27c',
500: '#b2bf40',
950: '#000000',
},
}SCSS
$custom: #b2bf40; $custom-light: #ccd27c; $custom-dark: #000000;
JSON
{
"hex": "#b2bf40",
"rgb": {
"r": 178,
"g": 191,
"b": 64
},
"hsl": {
"h": 66.142,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.77083,
"c": 0.14882,
"h": 115
},
"luminance": 0.47097
}Semantic roles & 50–950 ramp
primary
#B2BF40
secondary
#9791CA
accent
#4ED95D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C