#B5BF31#B5BF31
#B5BF31 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.157 H 113.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B5BF31 |
|---|---|
| RGB | rgb(181, 191, 49) |
| HSL | hsl(64, 59%, 47%) |
| HSV | hsv(64, 74%, 75%) |
| CMYK | cmyk(5.2%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.39, -20.47, 65.54) |
| CIE-LCH | lch(74.39, 68.66, 107.35°) |
| OKLab | oklab(77.22% -0.0631 0.1443) |
| OKLCH | oklch(77.22% 0.157 113.6) |
| XYZ | xyz(38.2424, 47.3079, 10.0219) |
| Luminance | 0.4731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.23
Bile
#B5C306
ΔE00 2.47
Baby Puke Green
#B6C406
ΔE00 2.62
Mustard Green
#A8B504
ΔE00 3.30
Pea
#A4BF20
ΔE00 3.60
Puke Yellow
#C2BE0E
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5BF31 #3B31BF
analogous
#BF8231 #B5BF31 #6EBF31
triadic
#B5BF31 #31B5BF #BF31B5
tetradic
#B5BF31 #31BF82 #3B31BF #BF316E
square
#B5BF31 #31BF82 #3B31BF #BF316E
split-complementary
#B5BF31 #316EBF #8231BF
monochromatic
#595E18 #878E25 #B5BF31 #CCD459 #DBE18A
Accessibility & contrast
On white
2.01
#B5BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#B5BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5BF31
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5BF31 | 1.00 | 2.01 | 10.46 | 10.46 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB611
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#C1B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b5bf31; /* rgb */ color: rgb(181, 191, 49); /* oklch */ color: oklch(77.2% 0.157 113.6);
Tailwind
colors: {
custom: {
50: '#cfd274',
500: '#b5bf31',
950: '#000000',
},
}SCSS
$custom: #b5bf31; $custom-light: #cfd274; $custom-dark: #000000;
JSON
{
"hex": "#b5bf31",
"rgb": {
"r": 181,
"g": 191,
"b": 49
},
"hsl": {
"h": 64.225,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.77217,
"c": 0.15746,
"h": 113.6
},
"luminance": 0.47307
}Semantic roles & 50–950 ramp
primary
#B5BF31
secondary
#8681CB
accent
#45E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B