#BAC74D#BAC74D
#BAC74D is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.146 H 114.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC74D |
|---|---|
| RGB | rgb(186, 199, 77) |
| HSL | hsl(66, 52%, 54%) |
| HSV | hsv(66, 61%, 78%) |
| CMYK | cmyk(6.5%, 0%, 61.3%, 22%) |
| CIE-LAB | lab(77.17, -20.74, 57.79) |
| CIE-LCH | lch(77.17, 61.40, 109.74°) |
| OKLab | oklab(79.61% -0.0614 0.1322) |
| OKLCH | oklch(79.61% 0.146 114.9) |
| XYZ | xyz(42.0136, 51.8224, 14.8092) |
| Luminance | 0.5182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 4.66
Baby Puke Green
#B6C406
ΔE00 4.66
Pea
#A4BF20
ΔE00 4.66
Snot
#ACBB0D
ΔE00 5.04
Green Yellow
#B5CE08
ΔE00 5.10
Gross Green
#A0BF16
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC74D #5A4DC7
analogous
#C7974D #BAC74D #7DC74D
triadic
#BAC74D #4DBAC7 #C74DBA
tetradic
#BAC74D #4DC797 #5A4DC7 #C74D7D
square
#BAC74D #4DC797 #5A4DC7 #C74D7D
split-complementary
#BAC74D #4D7DC7 #974DC7
monochromatic
#6C7525 #97A333 #BAC74D #CCD67C #DEE4AA
Accessibility & contrast
On white
1.85
#BAC74D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#BAC74D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC74D
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC74D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC74D | 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)
#D4BE3E
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac74d; /* rgb */ color: rgb(186, 199, 77); /* oklch */ color: oklch(79.6% 0.146 114.9);
Tailwind
colors: {
custom: {
50: '#d1d784',
500: '#bac74d',
950: '#000000',
},
}SCSS
$custom: #bac74d; $custom-light: #d1d784; $custom-dark: #000000;
JSON
{
"hex": "#bac74d",
"rgb": {
"r": 186,
"g": 199,
"b": 77
},
"hsl": {
"h": 66.393,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.79608,
"c": 0.14578,
"h": 114.9
},
"luminance": 0.51822
}Semantic roles & 50–950 ramp
primary
#BAC74D
secondary
#423A7E
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E