#B3BF31#B3BF31
#B3BF31 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.158 H 114.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #B3BF31 |
|---|---|
| RGB | rgb(179, 191, 49) |
| HSL | hsl(65, 59%, 47%) |
| HSV | hsv(65, 74%, 75%) |
| CMYK | cmyk(6.3%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.23, -21.32, 65.34) |
| CIE-LCH | lch(74.23, 68.73, 108.07°) |
| OKLab | oklab(77.06% -0.0653 0.1439) |
| OKLCH | oklch(77.06% 0.158 114.4) |
| XYZ | xyz(37.7767, 47.0678, 10.0001) |
| Luminance | 0.4707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.11
Bile
#B5C306
ΔE00 2.54
Baby Puke Green
#B6C406
ΔE00 2.69
Pea
#A4BF20
ΔE00 3.15
Mustard Green
#A8B504
ΔE00 3.23
Gross Green
#A0BF16
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3BF31 #3D31BF
analogous
#BF8431 #B3BF31 #6CBF31
triadic
#B3BF31 #31B3BF #BF31B3
tetradic
#B3BF31 #31BF84 #3D31BF #BF316C
square
#B3BF31 #31BF84 #3D31BF #BF316C
split-complementary
#B3BF31 #316CBF #8431BF
monochromatic
#585E18 #858E25 #B3BF31 #CAD459 #D9E18A
Accessibility & contrast
On white
2.02
#B3BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#B3BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3BF31
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3BF31 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#BFB4A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b3bf31; /* rgb */ color: rgb(179, 191, 49); /* oklch */ color: oklch(77.1% 0.158 114.4);
Tailwind
colors: {
custom: {
50: '#cdd274',
500: '#b3bf31',
950: '#000000',
},
}SCSS
$custom: #b3bf31; $custom-light: #cdd274; $custom-dark: #000000;
JSON
{
"hex": "#b3bf31",
"rgb": {
"r": 179,
"g": 191,
"b": 49
},
"hsl": {
"h": 65.07,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.77057,
"c": 0.15805,
"h": 114.4
},
"luminance": 0.47067
}Semantic roles & 50–950 ramp
primary
#B3BF31
secondary
#8781CB
accent
#45E253
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B