#B7BF40#B7BF40
#B7BF40 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.147 H 112.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF40 |
|---|---|
| RGB | rgb(183, 191, 64) |
| HSL | hsl(64, 50%, 50%) |
| HSV | hsv(64, 66%, 75%) |
| CMYK | cmyk(4.2%, 0%, 66.5%, 25.1%) |
| CIE-LAB | lab(74.64, -18.85, 60.38) |
| CIE-LCH | lch(74.64, 63.26, 107.34°) |
| OKLab | oklab(77.49% -0.0572 0.1359) |
| OKLCH | oklch(77.49% 0.147 112.8) |
| XYZ | xyz(39.0858, 47.6999, 11.9975) |
| Luminance | 0.4770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.45
Bile
#B5C306
ΔE00 3.76
Baby Puke Green
#B6C406
ΔE00 3.87
Mustard Green
#A8B504
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.29
Puke Yellow
#C2BE0E
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF40 #4840BF
analogous
#BF8840 #B7BF40 #77BF40
triadic
#B7BF40 #40B7BF #BF40B7
tetradic
#B7BF40 #40BF88 #4840BF #BF4077
square
#B7BF40 #40BF88 #4840BF #BF4077
split-complementary
#B7BF40 #4077BF #8840BF
monochromatic
#5F6321 #8B9131 #B7BF40 #C8CE6E #DADE9C
Accessibility & contrast
On white
1.99
#B7BF40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B7BF40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF40
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF40 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#C3B4A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7bf40; /* rgb */ color: rgb(183, 191, 64); /* oklch */ color: oklch(77.5% 0.147 112.8);
Tailwind
colors: {
custom: {
50: '#d0d27c',
500: '#b7bf40',
950: '#000000',
},
}SCSS
$custom: #b7bf40; $custom-light: #d0d27c; $custom-dark: #000000;
JSON
{
"hex": "#b7bf40",
"rgb": {
"r": 183,
"g": 191,
"b": 64
},
"hsl": {
"h": 63.78,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.77485,
"c": 0.14745,
"h": 112.8
},
"luminance": 0.47699
}Semantic roles & 50–950 ramp
primary
#B7BF40
secondary
#9591CA
accent
#4ED957
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C