#B7BF42#B7BF42
#B7BF42 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.146 H 112.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF42 |
|---|---|
| RGB | rgb(183, 191, 66) |
| HSL | hsl(64, 49%, 50%) |
| HSV | hsv(64, 65%, 75%) |
| CMYK | cmyk(4.2%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.65, -18.73, 59.60) |
| CIE-LCH | lch(74.65, 62.48, 107.45°) |
| OKLab | oklab(77.5% -0.0567 0.1345) |
| OKLCH | oklch(77.5% 0.146 112.9) |
| XYZ | xyz(39.1437, 47.7231, 12.3027) |
| Luminance | 0.4772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.62
Bile
#B5C306
ΔE00 3.96
Baby Puke Green
#B6C406
ΔE00 4.07
Mustard Green
#A8B504
ΔE00 4.36
Pea
#A4BF20
ΔE00 4.37
Sick Green
#9DB92C
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF42 #4A42BF
analogous
#BF8842 #B7BF42 #78BF42
triadic
#B7BF42 #42B7BF #BF42B7
tetradic
#B7BF42 #42BF88 #4A42BF #BF4278
square
#B7BF42 #42BF88 #4A42BF #BF4278
split-complementary
#B7BF42 #4278BF #8842BF
monochromatic
#606522 #8C9232 #B7BF42 #C8CE70 #DADE9D
Accessibility & contrast
On white
1.99
#B7BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B7BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF42
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF42 | 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)
#CDB631
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7bf42; /* rgb */ color: rgb(183, 191, 66); /* oklch */ color: oklch(77.5% 0.146 112.9);
Tailwind
colors: {
custom: {
50: '#d0d27d',
500: '#b7bf42',
950: '#000000',
},
}SCSS
$custom: #b7bf42; $custom-light: #d0d27d; $custom-dark: #000000;
JSON
{
"hex": "#b7bf42",
"rgb": {
"r": 183,
"g": 191,
"b": 66
},
"hsl": {
"h": 63.84,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.77502,
"c": 0.146,
"h": 112.9
},
"luminance": 0.47722
}Semantic roles & 50–950 ramp
primary
#B7BF42
secondary
#9693CA
accent
#4FD958
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C