#B7BF31#B7BF31
#B7BF31 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.157 H 112.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF31 |
|---|---|
| RGB | rgb(183, 191, 49) |
| HSL | hsl(63, 59%, 47%) |
| HSV | hsv(63, 74%, 75%) |
| CMYK | cmyk(4.2%, 0%, 74.3%, 25.1%) |
| CIE-LAB | lab(74.54, -19.63, 65.74) |
| CIE-LCH | lch(74.54, 68.60, 106.62°) |
| OKLab | oklab(77.38% -0.0608 0.1446) |
| OKLCH | oklch(77.38% 0.157 112.8) |
| XYZ | xyz(38.7149, 47.5515, 10.0441) |
| Luminance | 0.4755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.45
Bile
#B5C306
ΔE00 2.51
Baby Puke Green
#B6C406
ΔE00 2.64
Mustard Green
#A8B504
ΔE00 3.44
Puke Yellow
#C2BE0E
ΔE00 3.85
Pea
#A4BF20
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF31 #3931BF
analogous
#BF8031 #B7BF31 #70BF31
triadic
#B7BF31 #31B7BF #BF31B7
tetradic
#B7BF31 #31BF80 #3931BF #BF3170
square
#B7BF31 #31BF80 #3931BF #BF3170
split-complementary
#B7BF31 #3170BF #8031BF
monochromatic
#5A5E18 #888E25 #B7BF31 #CDD459 #DCE18A
Accessibility & contrast
On white
2.00
#B7BF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.51
#B7BF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF31
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF31 | 1.00 | 2.00 | 10.51 | 10.51 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB611
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C4B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b7bf31; /* rgb */ color: rgb(183, 191, 49); /* oklch */ color: oklch(77.4% 0.157 112.8);
Tailwind
colors: {
custom: {
50: '#d0d274',
500: '#b7bf31',
950: '#000000',
},
}SCSS
$custom: #b7bf31; $custom-light: #d0d274; $custom-dark: #000000;
JSON
{
"hex": "#b7bf31",
"rgb": {
"r": 183,
"g": 191,
"b": 49
},
"hsl": {
"h": 63.38,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.7738,
"c": 0.15691,
"h": 112.8
},
"luminance": 0.47551
}Semantic roles & 50–950 ramp
primary
#B7BF31
secondary
#8581CB
accent
#45E24E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B