#B1BF40#B1BF40
#B1BF40 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.149 H 115.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BF40 |
|---|---|
| RGB | rgb(177, 191, 64) |
| HSL | hsl(67, 50%, 50%) |
| HSV | hsv(67, 66%, 75%) |
| CMYK | cmyk(7.3%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(74.18, -21.36, 59.77) |
| CIE-LCH | lch(74.18, 63.47, 109.66°) |
| OKLab | oklab(77% -0.0639 0.1347) |
| OKLCH | oklch(77% 0.149 115.4) |
| XYZ | xyz(37.6886, 46.9795, 11.9320) |
| Luminance | 0.4698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.23
Snot
#ACBB0D
ΔE00 3.40
Sick Green
#9DB92C
ΔE00 3.75
Gross Green
#A0BF16
ΔE00 4.00
Bile
#B5C306
ΔE00 4.05
Baby Puke Green
#B6C406
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BF40 #4E40BF
analogous
#BF8D40 #B1BF40 #72BF40
triadic
#B1BF40 #40B1BF #BF40B1
tetradic
#B1BF40 #40BF8D #4E40BF #BF4072
square
#B1BF40 #40BF8D #4E40BF #BF4072
split-complementary
#B1BF40 #4072BF #8D40BF
monochromatic
#5C6321 #879131 #B1BF40 #C4CE6E #D6DE9C
Accessibility & contrast
On white
2.02
#B1BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#B1BF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BF40
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BF40 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB62E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#BCB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b1bf40; /* rgb */ color: rgb(177, 191, 64); /* oklch */ color: oklch(77.0% 0.149 115.4);
Tailwind
colors: {
custom: {
50: '#cbd27c',
500: '#b1bf40',
950: '#000000',
},
}SCSS
$custom: #b1bf40; $custom-light: #cbd27c; $custom-dark: #000000;
JSON
{
"hex": "#b1bf40",
"rgb": {
"r": 177,
"g": 191,
"b": 64
},
"hsl": {
"h": 66.614,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.77004,
"c": 0.14913,
"h": 115.4
},
"luminance": 0.46979
}Semantic roles & 50–950 ramp
primary
#B1BF40
secondary
#9791CA
accent
#4ED95E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C