#BAC535#BAC535
#BAC535 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.160 H 113.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC535 |
|---|---|
| RGB | rgb(186, 197, 53) |
| HSL | hsl(65, 58%, 49%) |
| HSV | hsv(65, 73%, 77%) |
| CMYK | cmyk(5.6%, 0%, 73.1%, 22.7%) |
| CIE-LAB | lab(76.45, -21.15, 66.29) |
| CIE-LCH | lch(76.45, 69.58, 107.69°) |
| OKLab | oklab(78.98% -0.0649 0.1464) |
| OKLCH | oklch(78.98% 0.16 113.9) |
| XYZ | xyz(40.8598, 50.6295, 10.9875) |
| Luminance | 0.5063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.28
Bile
#B5C306
ΔE00 2.29
Snot
#ACBB0D
ΔE00 3.27
Green Yellow
#B5CE08
ΔE00 3.73
Pea
#A4BF20
ΔE00 4.03
Puke Yellow
#C2BE0E
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC535 #4035C5
analogous
#C58835 #BAC535 #72C535
triadic
#BAC535 #35BAC5 #C535BA
tetradic
#BAC535 #35C588 #4035C5 #C53572
square
#BAC535 #35C588 #4035C5 #C53572
split-complementary
#BAC535 #3572C5 #8835C5
monochromatic
#5F651B #8C9528 #BAC535 #CCD562 #DCE293
Accessibility & contrast
On white
1.89
#BAC535 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.13
#BAC535 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC535
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC535 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC535 | 1.00 | 1.89 | 11.13 | 11.13 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB17
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#C6B9A9
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac535; /* rgb */ color: rgb(186, 197, 53); /* oklch */ color: oklch(79.0% 0.160 113.9);
Tailwind
colors: {
custom: {
50: '#d2d677',
500: '#bac535',
950: '#000000',
},
}SCSS
$custom: #bac535; $custom-light: #d2d677; $custom-dark: #000000;
JSON
{
"hex": "#bac535",
"rgb": {
"r": 186,
"g": 197,
"b": 53
},
"hsl": {
"h": 64.583,
"s": 57.6,
"l": 49.02
},
"oklch": {
"l": 0.78977,
"c": 0.16014,
"h": 113.9
},
"luminance": 0.50629
}Semantic roles & 50–950 ramp
primary
#BAC535
secondary
#342F6F
accent
#47E153
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D