#BAC852#BAC852
#BAC852 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.9% C 0.143 H 115.4°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC852 |
|---|---|
| RGB | rgb(186, 200, 82) |
| HSL | hsl(67, 52%, 55%) |
| HSV | hsv(67, 59%, 78%) |
| CMYK | cmyk(7%, 0%, 59%, 21.6%) |
| CIE-LAB | lab(77.49, -20.87, 55.98) |
| CIE-LCH | lch(77.49, 59.75, 110.44°) |
| OKLab | oklab(79.88% -0.0612 0.129) |
| OKLCH | oklch(79.88% 0.143 115.4) |
| XYZ | xyz(42.4278, 52.3575, 15.8519) |
| Luminance | 0.5236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.99
Greenish Beige
#C9D179
ΔE00 5.08
Baby Puke Green
#B6C406
ΔE00 5.26
Bile
#B5C306
ΔE00 5.26
Light Olive Green
#A4BE5C
ΔE00 5.37
Green Yellow
#B5CE08
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC852 #6052C8
analogous
#C89B52 #BAC852 #7FC852
triadic
#BAC852 #52BAC8 #C852BA
tetradic
#BAC852 #52C89B #6052C8 #C8527F
square
#BAC852 #52C89B #6052C8 #C8527F
split-complementary
#BAC852 #527FC8 #9B52C8
monochromatic
#6F7927 #9AA835 #BAC852 #CDD780 #DFE6AF
Accessibility & contrast
On white
1.83
#BAC852 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#BAC852 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC852
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC852 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC852 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D4C059
Tritanopia (blue-blind)
#C5BDAF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac852; /* rgb */ color: rgb(186, 200, 82); /* oklch */ color: oklch(79.9% 0.143 115.4);
Tailwind
colors: {
custom: {
50: '#d1d887',
500: '#bac852',
950: '#000000',
},
}SCSS
$custom: #bac852; $custom-light: #d1d887; $custom-dark: #000000;
JSON
{
"hex": "#bac852",
"rgb": {
"r": 186,
"g": 200,
"b": 82
},
"hsl": {
"h": 67.119,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.79878,
"c": 0.14283,
"h": 115.4
},
"luminance": 0.52357
}Semantic roles & 50–950 ramp
primary
#BAC852
secondary
#453D82
accent
#4DDB5E
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F