#B1BF31#B1BF31
#B1BF31 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.159 H 115.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B1BF31 |
|---|---|
| RGB | rgb(177, 191, 49) |
| HSL | hsl(66, 59%, 47%) |
| HSV | hsv(66, 74%, 75%) |
| CMYK | cmyk(7.3%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.08, -22.16, 65.14) |
| CIE-LCH | lch(74.08, 68.81, 108.79°) |
| OKLab | oklab(76.9% -0.0675 0.1436) |
| OKLCH | oklch(76.9% 0.159 115.2) |
| XYZ | xyz(37.3177, 46.8311, 9.9786) |
| Luminance | 0.4683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.09
Bile
#B5C306
ΔE00 2.68
Pea
#A4BF20
ΔE00 2.72
Baby Puke Green
#B6C406
ΔE00 2.85
Mustard Green
#A8B504
ΔE00 3.22
Gross Green
#A0BF16
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1BF31 #3F31BF
analogous
#BF8631 #B1BF31 #6ABF31
triadic
#B1BF31 #31B1BF #BF31B1
tetradic
#B1BF31 #31BF86 #3F31BF #BF316A
square
#B1BF31 #31BF86 #3F31BF #BF316A
split-complementary
#B1BF31 #316ABF #8631BF
monochromatic
#575E18 #848E25 #B1BF31 #C8D459 #D8E18A
Accessibility & contrast
On white
2.03
#B1BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#B1BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1BF31
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1BF31 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#BDB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b1bf31; /* rgb */ color: rgb(177, 191, 49); /* oklch */ color: oklch(76.9% 0.159 115.2);
Tailwind
colors: {
custom: {
50: '#ccd274',
500: '#b1bf31',
950: '#000000',
},
}SCSS
$custom: #b1bf31; $custom-light: #ccd274; $custom-dark: #000000;
JSON
{
"hex": "#b1bf31",
"rgb": {
"r": 177,
"g": 191,
"b": 49
},
"hsl": {
"h": 65.915,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.76898,
"c": 0.15867,
"h": 115.2
},
"luminance": 0.4683
}Semantic roles & 50–950 ramp
primary
#B1BF31
secondary
#8881CB
accent
#45E255
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B