#B0BF31#B0BF31
#B0BF31 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.159 H 115.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B0BF31 |
|---|---|
| RGB | rgb(176, 191, 49) |
| HSL | hsl(66, 59%, 47%) |
| HSV | hsv(66, 74%, 75%) |
| CMYK | cmyk(7.9%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.01, -22.58, 65.05) |
| CIE-LCH | lch(74.01, 68.85, 109.14°) |
| OKLab | oklab(76.82% -0.0686 0.1434) |
| OKLCH | oklch(76.82% 0.159 115.6) |
| XYZ | xyz(37.0907, 46.7141, 9.9679) |
| Luminance | 0.4671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.12
Pea
#A4BF20
ΔE00 2.51
Bile
#B5C306
ΔE00 2.79
Baby Puke Green
#B6C406
ΔE00 2.95
Mustard Green
#A8B504
ΔE00 3.25
Gross Green
#A0BF16
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B0BF31 #4031BF
analogous
#BF8731 #B0BF31 #69BF31
triadic
#B0BF31 #31B0BF #BF31B0
tetradic
#B0BF31 #31BF87 #4031BF #BF3169
square
#B0BF31 #31BF87 #4031BF #BF3169
split-complementary
#B0BF31 #3169BF #8731BF
monochromatic
#565E18 #838E25 #B0BF31 #C7D459 #D8E18A
Accessibility & contrast
On white
2.03
#B0BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.34
#B0BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B0BF31
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B0BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B0BF31 | 1.00 | 2.03 | 10.34 | 10.34 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CCB73D
Tritanopia (blue-blind)
#BBB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #b0bf31; /* rgb */ color: rgb(176, 191, 49); /* oklch */ color: oklch(76.8% 0.159 115.6);
Tailwind
colors: {
custom: {
50: '#cbd274',
500: '#b0bf31',
950: '#000000',
},
}SCSS
$custom: #b0bf31; $custom-light: #cbd274; $custom-dark: #000000;
JSON
{
"hex": "#b0bf31",
"rgb": {
"r": 176,
"g": 191,
"b": 49
},
"hsl": {
"h": 66.338,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.76819,
"c": 0.15899,
"h": 115.6
},
"luminance": 0.46713
}Semantic roles & 50–950 ramp
primary
#B0BF31
secondary
#8981CB
accent
#45E256
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B