#BAC047#BAC047
#BAC047 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.143 H 112.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC047 |
|---|---|
| RGB | rgb(186, 192, 71) |
| HSL | hsl(63, 49%, 52%) |
| HSV | hsv(63, 63%, 75%) |
| CMYK | cmyk(3.1%, 0%, 63%, 24.7%) |
| CIE-LAB | lab(75.20, -17.66, 58.20) |
| CIE-LCH | lch(75.20, 60.82, 106.88°) |
| OKLab | oklab(78.01% -0.0534 0.1323) |
| OKLCH | oklch(78.01% 0.143 112) |
| XYZ | xyz(40.2378, 48.5942, 13.2200) |
| Luminance | 0.4859 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.24
Bile
#B5C306
ΔE00 4.37
Baby Puke Green
#B6C406
ΔE00 4.45
Mustard Green
#A8B504
ΔE00 4.96
Pea
#A4BF20
ΔE00 5.01
Puke Yellow
#C2BE0E
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC047 #4D47C0
analogous
#C08A47 #BAC047 #7EC047
triadic
#BAC047 #47BAC0 #C047BA
tetradic
#BAC047 #47C08A #4D47C0 #C0477E
square
#BAC047 #47C08A #4D47C0 #C0477E
split-complementary
#BAC047 #477EC0 #8A47C0
monochromatic
#656924 #919633 #BAC047 #CBD075 #DCDFA2
Accessibility & contrast
On white
1.96
#BAC047 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.72
#BAC047 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC047
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC047 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC047 | 1.00 | 1.96 | 10.72 | 10.72 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB838
Deuteranopia (green-blind)
#CEBB4F
Tritanopia (blue-blind)
#C6B5A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac047; /* rgb */ color: rgb(186, 192, 71); /* oklch */ color: oklch(78.0% 0.143 112.0);
Tailwind
colors: {
custom: {
50: '#d2d280',
500: '#bac047',
950: '#000000',
},
}SCSS
$custom: #bac047; $custom-light: #d2d280; $custom-dark: #000000;
JSON
{
"hex": "#bac047",
"rgb": {
"r": 186,
"g": 192,
"b": 71
},
"hsl": {
"h": 62.975,
"s": 48.988,
"l": 51.569
},
"oklch": {
"l": 0.7801,
"c": 0.14262,
"h": 112
},
"luminance": 0.48593
}Semantic roles & 50–950 ramp
primary
#BAC047
secondary
#9997CC
accent
#4FD956
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C