#B3BF42#B3BF42
#B3BF42 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.147 H 114.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B3BF42 |
|---|---|
| RGB | rgb(179, 191, 66) |
| HSL | hsl(66, 49%, 50%) |
| HSV | hsv(66, 65%, 75%) |
| CMYK | cmyk(6.3%, 0%, 65.4%, 25.1%) |
| CIE-LAB | lab(74.34, -20.40, 59.19) |
| CIE-LCH | lch(74.34, 62.61, 109.02°) |
| OKLab | oklab(77.18% -0.0612 0.1338) |
| OKLCH | oklch(77.18% 0.147 114.6) |
| XYZ | xyz(38.2055, 47.2393, 12.2587) |
| Luminance | 0.4724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.54
Pea
#A4BF20
ΔE00 3.66
Bile
#B5C306
ΔE00 4.10
Sick Green
#9DB92C
ΔE00 4.17
Baby Puke Green
#B6C406
ΔE00 4.22
Mustard Green
#A8B504
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3BF42 #4E42BF
analogous
#BF8C42 #B3BF42 #74BF42
triadic
#B3BF42 #42B3BF #BF42B3
tetradic
#B3BF42 #42BF8C #4E42BF #BF4274
square
#B3BF42 #42BF8C #4E42BF #BF4274
split-complementary
#B3BF42 #4274BF #8C42BF
monochromatic
#5E6522 #899232 #B3BF42 #C5CE70 #D8DE9D
Accessibility & contrast
On white
2.01
#B3BF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#B3BF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3BF42
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3BF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3BF42 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#BEB4A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b3bf42; /* rgb */ color: rgb(179, 191, 66); /* oklch */ color: oklch(77.2% 0.147 114.6);
Tailwind
colors: {
custom: {
50: '#cdd27d',
500: '#b3bf42',
950: '#000000',
},
}SCSS
$custom: #b3bf42; $custom-light: #cdd27d; $custom-dark: #000000;
JSON
{
"hex": "#b3bf42",
"rgb": {
"r": 179,
"g": 191,
"b": 66
},
"hsl": {
"h": 65.76,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.77179,
"c": 0.14709,
"h": 114.6
},
"luminance": 0.47239
}Semantic roles & 50–950 ramp
primary
#B3BF42
secondary
#9893CA
accent
#4FD95C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C