#BAC75B#BAC75B
#BAC75B is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.8% C 0.134 H 115.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC75B |
|---|---|
| RGB | rgb(186, 199, 91) |
| HSL | hsl(67, 49%, 57%) |
| HSV | hsv(67, 54%, 78%) |
| CMYK | cmyk(6.5%, 0%, 54.3%, 22%) |
| CIE-LAB | lab(77.31, -19.65, 51.72) |
| CIE-LCH | lch(77.31, 55.33, 110.80°) |
| OKLab | oklab(79.76% -0.0569 0.1209) |
| OKLCH | oklch(79.76% 0.134 115.2) |
| XYZ | xyz(42.5622, 52.0419, 17.6984) |
| Luminance | 0.5204 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.22
Light Olive
#ACBF69
ΔE00 4.52
Greenish Tan
#BCCB7A
ΔE00 4.58
Light Olive Green
#A4BE5C
ΔE00 4.70
Pea
#A4BF20
ΔE00 5.82
Tan Green
#A9BE70
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC75B #685BC7
analogous
#C79E5B #BAC75B #84C75B
triadic
#BAC75B #5BBAC7 #C75BBA
tetradic
#BAC75B #5BC79E #685BC7 #C75B84
square
#BAC75B #5BC79E #685BC7 #C75B84
split-complementary
#BAC75B #5B84C7 #9E5BC7
monochromatic
#737D2B #9DAB3A #BAC75B #CDD789 #E0E6B6
Accessibility & contrast
On white
1.84
#BAC75B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#BAC75B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC75B
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC75B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC75B | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE50
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#C4BDAF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac75b; /* rgb */ color: rgb(186, 199, 91); /* oklch */ color: oklch(79.8% 0.134 115.2);
Tailwind
colors: {
custom: {
50: '#d1d78d',
500: '#bac75b',
950: '#000000',
},
}SCSS
$custom: #bac75b; $custom-light: #d1d78d; $custom-dark: #000000;
JSON
{
"hex": "#bac75b",
"rgb": {
"r": 186,
"g": 199,
"b": 91
},
"hsl": {
"h": 67.222,
"s": 49.091,
"l": 56.863
},
"oklch": {
"l": 0.79755,
"c": 0.13365,
"h": 115.2
},
"luminance": 0.52041
}Semantic roles & 50–950 ramp
primary
#BAC75B
secondary
#494185
accent
#4FD960
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F