#BAC247#BAC247
#BAC247 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.5% C 0.145 H 112.8°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC247 |
|---|---|
| RGB | rgb(186, 194, 71) |
| HSL | hsl(64, 50%, 52%) |
| HSV | hsv(64, 63%, 76%) |
| CMYK | cmyk(4.1%, 0%, 63.4%, 23.9%) |
| CIE-LAB | lab(75.75, -18.66, 58.78) |
| CIE-LCH | lch(75.75, 61.68, 107.61°) |
| OKLab | oklab(78.45% -0.0562 0.1335) |
| OKLCH | oklch(78.45% 0.145 112.8) |
| XYZ | xyz(40.6799, 49.4785, 13.3674) |
| Luminance | 0.4948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 4.15
Baby Puke Green
#B6C406
ΔE00 4.20
Snot
#ACBB0D
ΔE00 4.21
Pea
#A4BF20
ΔE00 4.71
Mustard Green
#A8B504
ΔE00 5.10
Puke Yellow
#C2BE0E
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC247 #4F47C2
analogous
#C28C47 #BAC247 #7DC247
triadic
#BAC247 #47BAC2 #C247BA
tetradic
#BAC247 #47C28C #4F47C2 #C2477D
square
#BAC247 #47C28C #4F47C2 #C2477D
split-complementary
#BAC247 #477DC2 #8C47C2
monochromatic
#666B24 #929933 #BAC247 #CBD175 #DCE0A3
Accessibility & contrast
On white
1.93
#BAC247 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#BAC247 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC247
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC247 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC247 | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B937
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#C6B7A9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bac247; /* rgb */ color: rgb(186, 194, 71); /* oklch */ color: oklch(78.5% 0.145 112.8);
Tailwind
colors: {
custom: {
50: '#d2d480',
500: '#bac247',
950: '#000000',
},
}SCSS
$custom: #bac247; $custom-light: #d2d480; $custom-dark: #000000;
JSON
{
"hex": "#bac247",
"rgb": {
"r": 186,
"g": 194,
"b": 71
},
"hsl": {
"h": 63.902,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.7845,
"c": 0.14483,
"h": 112.8
},
"luminance": 0.49478
}Semantic roles & 50–950 ramp
primary
#BAC247
secondary
#9B97CD
accent
#4EDA57
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C