#BAC73A#BAC73A
#BAC73A is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.5% C 0.159 H 114.7°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC73A |
|---|---|
| RGB | rgb(186, 199, 58) |
| HSL | hsl(66, 56%, 50%) |
| HSV | hsv(66, 71%, 78%) |
| CMYK | cmyk(6.5%, 0%, 70.9%, 22%) |
| CIE-LAB | lab(77.04, -21.89, 65.11) |
| CIE-LCH | lch(77.04, 68.69, 108.58°) |
| OKLab | oklab(79.45% -0.0665 0.1448) |
| OKLCH | oklch(79.45% 0.159 114.7) |
| XYZ | xyz(41.4380, 51.5922, 11.7776) |
| Luminance | 0.5159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.73
Bile
#B5C306
ΔE00 2.77
Green Yellow
#B5CE08
ΔE00 3.53
Snot
#ACBB0D
ΔE00 3.76
Pea
#A4BF20
ΔE00 3.99
Gross Green
#A0BF16
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC73A #473AC7
analogous
#C78D3A #BAC73A #73C73A
triadic
#BAC73A #3ABAC7 #C73ABA
tetradic
#BAC73A #3AC78D #473AC7 #C73A73
square
#BAC73A #3AC78D #473AC7 #C73A73
split-complementary
#BAC73A #3A73C7 #8D3AC7
monochromatic
#62691E #8E982B #BAC73A #CBD56A #DBE299
Accessibility & contrast
On white
1.86
#BAC73A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#BAC73A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC73A
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC73A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC73A | 1.00 | 1.86 | 11.32 | 11.32 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD21
Deuteranopia (green-blind)
#D5BF45
Tritanopia (blue-blind)
#C6BBAC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac73a; /* rgb */ color: rgb(186, 199, 58); /* oklch */ color: oklch(79.5% 0.159 114.7);
Tailwind
colors: {
custom: {
50: '#d2d779',
500: '#bac73a',
950: '#000000',
},
}SCSS
$custom: #bac73a; $custom-light: #d2d779; $custom-dark: #000000;
JSON
{
"hex": "#bac73a",
"rgb": {
"r": 186,
"g": 199,
"b": 58
},
"hsl": {
"h": 65.532,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.79453,
"c": 0.15931,
"h": 114.7
},
"luminance": 0.51591
}Semantic roles & 50–950 ramp
primary
#BAC73A
secondary
#383273
accent
#49DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D