#BAC04A#BAC04A
#BAC04A is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.0% C 0.140 H 112.0°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC04A |
|---|---|
| RGB | rgb(186, 192, 74) |
| HSL | hsl(63, 48%, 52%) |
| HSV | hsv(63, 61%, 75%) |
| CMYK | cmyk(3.1%, 0%, 61.5%, 24.7%) |
| CIE-LAB | lab(75.22, -17.46, 56.97) |
| CIE-LCH | lch(75.22, 59.58, 107.04°) |
| OKLab | oklab(78.04% -0.0525 0.1301) |
| OKLCH | oklch(78.04% 0.14 112) |
| XYZ | xyz(40.3364, 48.6337, 13.7396) |
| Luminance | 0.4863 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.52
Bile
#B5C306
ΔE00 4.70
Baby Puke Green
#B6C406
ΔE00 4.78
Pea
#A4BF20
ΔE00 5.17
Mustard Green
#A8B504
ΔE00 5.20
Puke Yellow
#C2BE0E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC04A #504AC0
analogous
#C08B4A #BAC04A #7FC04A
triadic
#BAC04A #4ABAC0 #C04ABA
tetradic
#BAC04A #4AC08B #504AC0 #C04A7F
square
#BAC04A #4AC08B #504AC0 #C04A7F
split-complementary
#BAC04A #4A7FC0 #8B4AC0
monochromatic
#676B25 #939835 #BAC04A #CBD077 #DDE0A5
Accessibility & contrast
On white
1.96
#BAC04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#BAC04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC04A
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC04A | 1.00 | 1.96 | 10.73 | 10.73 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB83C
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#C6B5A7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac04a; /* rgb */ color: rgb(186, 192, 74); /* oklch */ color: oklch(78.0% 0.140 112.0);
Tailwind
colors: {
custom: {
50: '#d1d282',
500: '#bac04a',
950: '#000000',
},
}SCSS
$custom: #bac04a; $custom-light: #d1d282; $custom-dark: #000000;
JSON
{
"hex": "#bac04a",
"rgb": {
"r": 186,
"g": 192,
"b": 74
},
"hsl": {
"h": 63.051,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.78038,
"c": 0.14026,
"h": 112
},
"luminance": 0.48633
}Semantic roles & 50–950 ramp
primary
#BAC04A
secondary
#9C99CD
accent
#50D857
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C