#B4BF42#B4BF42
#B4BF42 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.147 H 114.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF42 |
|---|---|
| RGB | rgb(180, 191, 66) |
| HSL | hsl(65, 49%, 50%) |
| HSV | hsv(65, 65%, 75%) |
| CMYK | cmyk(5.8%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.42, -19.99, 59.29) |
| CIE-LCH | lch(74.42, 62.57, 108.63°) |
| OKLab | oklab(77.26% -0.06 0.134) |
| OKLCH | oklch(77.26% 0.147 114.1) |
| XYZ | xyz(38.4375, 47.3590, 12.2696) |
| Luminance | 0.4736 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.53
Pea
#A4BF20
ΔE00 3.82
Bile
#B5C306
ΔE00 4.04
Baby Puke Green
#B6C406
ΔE00 4.16
Mustard Green
#A8B504
ΔE00 4.30
Sick Green
#9DB92C
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF42 #4D42BF
analogous
#BF8B42 #B4BF42 #75BF42
triadic
#B4BF42 #42B4BF #BF42B4
tetradic
#B4BF42 #42BF8B #4D42BF #BF4275
square
#B4BF42 #42BF8B #4D42BF #BF4275
split-complementary
#B4BF42 #4275BF #8B42BF
monochromatic
#5F6522 #8A9232 #B4BF42 #C6CE70 #D8DE9D
Accessibility & contrast
On white
2.01
#B4BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#B4BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF42
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF42 | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#BFB4A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf42; /* rgb */ color: rgb(180, 191, 66); /* oklch */ color: oklch(77.3% 0.147 114.1);
Tailwind
colors: {
custom: {
50: '#cdd27d',
500: '#b4bf42',
950: '#000000',
},
}SCSS
$custom: #b4bf42; $custom-light: #cdd27d; $custom-dark: #000000;
JSON
{
"hex": "#b4bf42",
"rgb": {
"r": 180,
"g": 191,
"b": 66
},
"hsl": {
"h": 65.28,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.77259,
"c": 0.1468,
"h": 114.1
},
"luminance": 0.47358
}Semantic roles & 50–950 ramp
primary
#B4BF42
secondary
#9793CA
accent
#4FD95B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C