#B9BF42#B9BF42
#B9BF42 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.146 H 112.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B9BF42 |
|---|---|
| RGB | rgb(185, 191, 66) |
| HSL | hsl(63, 49%, 50%) |
| HSV | hsv(63, 65%, 75%) |
| CMYK | cmyk(3.1%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.81, -17.89, 59.81) |
| CIE-LCH | lch(74.81, 62.43, 106.65°) |
| OKLab | oklab(77.66% -0.0545 0.1349) |
| OKLCH | oklch(77.66% 0.146 112) |
| XYZ | xyz(39.6229, 47.9701, 12.3251) |
| Luminance | 0.4797 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.77
Bile
#B5C306
ΔE00 3.98
Baby Puke Green
#B6C406
ΔE00 4.08
Mustard Green
#A8B504
ΔE00 4.47
Puke Yellow
#C2BE0E
ΔE00 4.71
Pea
#A4BF20
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9BF42 #4842BF
analogous
#BF8642 #B9BF42 #7ABF42
triadic
#B9BF42 #42B9BF #BF42B9
tetradic
#B9BF42 #42BF86 #4842BF #BF427A
square
#B9BF42 #42BF86 #4842BF #BF427A
split-complementary
#B9BF42 #427ABF #8642BF
monochromatic
#616522 #8E9232 #B9BF42 #CACE70 #DBDE9D
Accessibility & contrast
On white
1.98
#B9BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#B9BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9BF42
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9BF42 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#C5B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b9bf42; /* rgb */ color: rgb(185, 191, 66); /* oklch */ color: oklch(77.7% 0.146 112.0);
Tailwind
colors: {
custom: {
50: '#d1d27d',
500: '#b9bf42',
950: '#000000',
},
}SCSS
$custom: #b9bf42; $custom-light: #d1d27d; $custom-dark: #000000;
JSON
{
"hex": "#b9bf42",
"rgb": {
"r": 185,
"g": 191,
"b": 66
},
"hsl": {
"h": 62.88,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.77665,
"c": 0.14551,
"h": 112
},
"luminance": 0.47969
}Semantic roles & 50–950 ramp
primary
#B9BF42
secondary
#9593CA
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C