#BAC22F#BAC22F
#BAC22F is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.160 H 112.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC22F |
|---|---|
| RGB | rgb(186, 194, 47) |
| HSL | hsl(63, 61%, 47%) |
| HSV | hsv(63, 76%, 76%) |
| CMYK | cmyk(4.1%, 0%, 75.8%, 23.9%) |
| CIE-LAB | lab(75.59, -19.93, 67.44) |
| CIE-LCH | lch(75.59, 70.33, 106.46°) |
| OKLab | oklab(78.28% -0.062 0.1478) |
| OKLCH | oklch(78.28% 0.16 112.8) |
| XYZ | xyz(40.0559, 49.2288, 10.0808) |
| Luminance | 0.4923 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.06
Baby Puke Green
#B6C406
ΔE00 2.12
Snot
#ACBB0D
ΔE00 2.82
Puke Yellow
#C2BE0E
ΔE00 3.60
Mustard Green
#A8B504
ΔE00 4.03
Vomit Yellow
#C7C10C
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC22F #372FC2
analogous
#C2802F #BAC22F #71C22F
triadic
#BAC22F #2FBAC2 #C22FBA
tetradic
#BAC22F #2FC280 #372FC2 #C22F71
square
#BAC22F #2FC280 #372FC2 #C22F71
split-complementary
#BAC22F #2F71C2 #802FC2
monochromatic
#5C5F17 #8B9123 #BAC22F #D0D658 #DEE289
Accessibility & contrast
On white
1.94
#BAC22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.85
#BAC22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC22F
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC22F | 1.00 | 1.94 | 10.85 | 10.85 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B907
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C7B6A7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bac22f; /* rgb */ color: rgb(186, 194, 47); /* oklch */ color: oklch(78.3% 0.160 112.8);
Tailwind
colors: {
custom: {
50: '#d2d474',
500: '#bac22f',
950: '#000000',
},
}SCSS
$custom: #bac22f; $custom-light: #d2d474; $custom-dark: #000000;
JSON
{
"hex": "#bac22f",
"rgb": {
"r": 186,
"g": 194,
"b": 47
},
"hsl": {
"h": 63.265,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.78277,
"c": 0.16028,
"h": 112.8
},
"luminance": 0.49228
}Semantic roles & 50–950 ramp
primary
#BAC22F
secondary
#8581CC
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B