#B4BF31#B4BF31
#B4BF31 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.158 H 114.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF31 |
|---|---|
| RGB | rgb(180, 191, 49) |
| HSL | hsl(65, 59%, 47%) |
| HSV | hsv(65, 74%, 75%) |
| CMYK | cmyk(5.8%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.31, -20.89, 65.44) |
| CIE-LCH | lch(74.31, 68.69, 107.71°) |
| OKLab | oklab(77.14% -0.0642 0.1441) |
| OKLCH | oklch(77.14% 0.158 114) |
| XYZ | xyz(38.0087, 47.1874, 10.0110) |
| Luminance | 0.4719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.16
Bile
#B5C306
ΔE00 2.49
Baby Puke Green
#B6C406
ΔE00 2.65
Mustard Green
#A8B504
ΔE00 3.25
Pea
#A4BF20
ΔE00 3.37
Gross Green
#A0BF16
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF31 #3C31BF
analogous
#BF8331 #B4BF31 #6DBF31
triadic
#B4BF31 #31B4BF #BF31B4
tetradic
#B4BF31 #31BF83 #3C31BF #BF316D
square
#B4BF31 #31BF83 #3C31BF #BF316D
split-complementary
#B4BF31 #316DBF #8331BF
monochromatic
#585E18 #868E25 #B4BF31 #CBD459 #DAE18A
Accessibility & contrast
On white
2.01
#B4BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#B4BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF31
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF31 | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB611
Deuteranopia (green-blind)
#CDB83D
Tritanopia (blue-blind)
#C0B4A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf31; /* rgb */ color: rgb(180, 191, 49); /* oklch */ color: oklch(77.1% 0.158 114.0);
Tailwind
colors: {
custom: {
50: '#ced274',
500: '#b4bf31',
950: '#000000',
},
}SCSS
$custom: #b4bf31; $custom-light: #ced274; $custom-dark: #000000;
JSON
{
"hex": "#b4bf31",
"rgb": {
"r": 180,
"g": 191,
"b": 49
},
"hsl": {
"h": 64.648,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.77137,
"c": 0.15776,
"h": 114
},
"luminance": 0.47187
}Semantic roles & 50–950 ramp
primary
#B4BF31
secondary
#8781CB
accent
#45E252
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B