#BAC552#BAC552
#BAC552 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.139 H 114.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC552 |
|---|---|
| RGB | rgb(186, 197, 82) |
| HSL | hsl(66, 50%, 55%) |
| HSV | hsv(66, 58%, 77%) |
| CMYK | cmyk(5.6%, 0%, 58.4%, 22.7%) |
| CIE-LAB | lab(76.67, -19.38, 55.07) |
| CIE-LCH | lch(76.67, 58.38, 109.39°) |
| OKLab | oklab(79.22% -0.0571 0.1271) |
| OKLCH | oklch(79.22% 0.139 114.2) |
| XYZ | xyz(41.7399, 50.9815, 15.6226) |
| Luminance | 0.5098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 5.11
Greenish Beige
#C9D179
ΔE00 5.17
Bile
#B5C306
ΔE00 5.26
Baby Puke Green
#B6C406
ΔE00 5.29
Light Olive Green
#A4BE5C
ΔE00 5.34
Snot
#ACBB0D
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC552 #5D52C5
analogous
#C59752 #BAC552 #81C552
triadic
#BAC552 #52BAC5 #C552BA
tetradic
#BAC552 #52C597 #5D52C5 #C55281
square
#BAC552 #52C597 #5D52C5 #C55281
split-complementary
#BAC552 #5281C5 #9752C5
monochromatic
#6E7527 #99A337 #BAC552 #CCD480 #DFE4AE
Accessibility & contrast
On white
1.88
#BAC552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.20
#BAC552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC552
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC552 | 1.00 | 1.88 | 11.20 | 11.20 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#D2BE59
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac552; /* rgb */ color: rgb(186, 197, 82); /* oklch */ color: oklch(79.2% 0.139 114.2);
Tailwind
colors: {
custom: {
50: '#d1d687',
500: '#bac552',
950: '#000000',
},
}SCSS
$custom: #bac552; $custom-light: #d1d687; $custom-dark: #000000;
JSON
{
"hex": "#bac552",
"rgb": {
"r": 186,
"g": 197,
"b": 82
},
"hsl": {
"h": 65.739,
"s": 49.784,
"l": 54.706
},
"oklch": {
"l": 0.79216,
"c": 0.1393,
"h": 114.2
},
"luminance": 0.50981
}Semantic roles & 50–950 ramp
primary
#BAC552
secondary
#433D7E
accent
#4ED95C
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F