#BAC74A#BAC74A
#BAC74A is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.148 H 114.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC74A |
|---|---|
| RGB | rgb(186, 199, 74) |
| HSL | hsl(66, 53%, 54%) |
| HSV | hsv(66, 63%, 78%) |
| CMYK | cmyk(6.5%, 0%, 62.8%, 22%) |
| CIE-LAB | lab(77.15, -20.94, 59.03) |
| CIE-LCH | lch(77.15, 62.63, 109.53°) |
| OKLab | oklab(79.58% -0.0623 0.1344) |
| OKLCH | oklch(79.58% 0.148 114.9) |
| XYZ | xyz(41.9101, 51.7810, 14.2642) |
| Luminance | 0.5178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.32
Bile
#B5C306
ΔE00 4.32
Pea
#A4BF20
ΔE00 4.48
Snot
#ACBB0D
ΔE00 4.78
Green Yellow
#B5CE08
ΔE00 4.81
Gross Green
#A0BF16
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC74A #574AC7
analogous
#C7954A #BAC74A #7BC74A
triadic
#BAC74A #4ABAC7 #C74ABA
tetradic
#BAC74A #4AC795 #574AC7 #C74A7B
square
#BAC74A #4AC795 #574AC7 #C74A7B
split-complementary
#BAC74A #4A7BC7 #954AC7
monochromatic
#6B7324 #96A232 #BAC74A #CCD579 #DEE4A7
Accessibility & contrast
On white
1.85
#BAC74A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#BAC74A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC74A
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC74A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC74A | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac74a; /* rgb */ color: rgb(186, 199, 74); /* oklch */ color: oklch(79.6% 0.148 114.9);
Tailwind
colors: {
custom: {
50: '#d2d782',
500: '#bac74a',
950: '#000000',
},
}SCSS
$custom: #bac74a; $custom-light: #d2d782; $custom-dark: #000000;
JSON
{
"hex": "#bac74a",
"rgb": {
"r": 186,
"g": 199,
"b": 74
},
"hsl": {
"h": 66.24,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.7958,
"c": 0.14814,
"h": 114.9
},
"luminance": 0.5178
}Semantic roles & 50–950 ramp
primary
#BAC74A
secondary
#40397C
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E