#BAC147#BAC147
#BAC147 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.144 H 112.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC147 |
|---|---|
| RGB | rgb(186, 193, 71) |
| HSL | hsl(63, 50%, 52%) |
| HSV | hsv(63, 63%, 76%) |
| CMYK | cmyk(3.6%, 0%, 63.2%, 24.3%) |
| CIE-LAB | lab(75.47, -18.16, 58.49) |
| CIE-LCH | lch(75.47, 61.25, 107.25°) |
| OKLab | oklab(78.23% -0.0548 0.1329) |
| OKLCH | oklch(78.23% 0.144 112.4) |
| XYZ | xyz(40.4581, 49.0348, 13.2934) |
| Luminance | 0.4903 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.21
Bile
#B5C306
ΔE00 4.25
Baby Puke Green
#B6C406
ΔE00 4.32
Pea
#A4BF20
ΔE00 4.85
Mustard Green
#A8B504
ΔE00 5.02
Puke Yellow
#C2BE0E
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC147 #4E47C1
analogous
#C18B47 #BAC147 #7DC147
triadic
#BAC147 #47BAC1 #C147BA
tetradic
#BAC147 #47C18B #4E47C1 #C1477D
square
#BAC147 #47C18B #4E47C1 #C1477D
split-complementary
#BAC147 #477DC1 #8B47C1
monochromatic
#666A24 #929833 #BAC147 #CBD075 #DCE0A3
Accessibility & contrast
On white
1.94
#BAC147 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.81
#BAC147 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC147
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC147 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC147 | 1.00 | 1.94 | 10.81 | 10.81 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB837
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#C6B6A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bac147; /* rgb */ color: rgb(186, 193, 71); /* oklch */ color: oklch(78.2% 0.144 112.4);
Tailwind
colors: {
custom: {
50: '#d2d380',
500: '#bac147',
950: '#000000',
},
}SCSS
$custom: #bac147; $custom-light: #d2d380; $custom-dark: #000000;
JSON
{
"hex": "#bac147",
"rgb": {
"r": 186,
"g": 193,
"b": 71
},
"hsl": {
"h": 63.443,
"s": 49.593,
"l": 51.765
},
"oklch": {
"l": 0.7823,
"c": 0.14372,
"h": 112.4
},
"luminance": 0.49034
}Semantic roles & 50–950 ramp
primary
#BAC147
secondary
#9A97CD
accent
#4FD957
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C