#BACC36#BACC36
#BACC36 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.5% C 0.167 H 116.3°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BACC36 |
|---|---|
| RGB | rgb(186, 204, 54) |
| HSL | hsl(67, 60%, 51%) |
| HSV | hsv(67, 74%, 80%) |
| CMYK | cmyk(8.8%, 0%, 73.5%, 20%) |
| CIE-LAB | lab(78.40, -24.52, 67.80) |
| CIE-LCH | lch(78.40, 72.10, 109.88°) |
| OKLab | oklab(80.54% -0.0741 0.1498) |
| OKLCH | oklch(80.54% 0.167 116.3) |
| XYZ | xyz(42.5095, 53.8918, 11.6521) |
| Luminance | 0.5389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.37
Baby Puke Green
#B6C406
ΔE00 3.02
Bile
#B5C306
ΔE00 3.14
Pea
#A4BF20
ΔE00 4.21
Snot
#ACBB0D
ΔE00 4.57
Gross Green
#A0BF16
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACC36 #4836CC
analogous
#CC9336 #BACC36 #6FCC36
triadic
#BACC36 #36BACC #CC36BA
tetradic
#BACC36 #36CC93 #4836CC #CC366F
square
#BACC36 #36CC93 #4836CC #CC366F
split-complementary
#BACC36 #366FCC #9336CC
monochromatic
#626C1B #8F9D28 #BACC36 #CBD867 #DCE598
Accessibility & contrast
On white
1.78
#BACC36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.78
#BACC36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACC36
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACC36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACC36 | 1.00 | 1.78 | 11.78 | 11.78 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC116
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#C6C0AF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bacc36; /* rgb */ color: rgb(186, 204, 54); /* oklch */ color: oklch(80.5% 0.167 116.3);
Tailwind
colors: {
custom: {
50: '#d2db78',
500: '#bacc36',
950: '#000000',
},
}SCSS
$custom: #bacc36; $custom-light: #d2db78; $custom-dark: #000000;
JSON
{
"hex": "#bacc36",
"rgb": {
"r": 186,
"g": 204,
"b": 54
},
"hsl": {
"h": 67.2,
"s": 59.524,
"l": 50.588
},
"oklch": {
"l": 0.80539,
"c": 0.16711,
"h": 116.3
},
"luminance": 0.53891
}Semantic roles & 50–950 ramp
primary
#BACC36
secondary
#393076
accent
#45E358
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15150A
muted
#84847D