#BACD38#BACD38
#BACD38 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 80.8% C 0.167 H 116.7°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BACD38 |
|---|---|
| RGB | rgb(186, 205, 56) |
| HSL | hsl(68, 60%, 51%) |
| HSV | hsv(68, 73%, 80%) |
| CMYK | cmyk(9.3%, 0%, 72.7%, 19.6%) |
| CIE-LAB | lab(78.69, -24.91, 67.41) |
| CIE-LCH | lch(78.69, 71.86, 110.28°) |
| OKLab | oklab(80.77% -0.075 0.1493) |
| OKLCH | oklch(80.77% 0.167 116.7) |
| XYZ | xyz(42.7959, 54.3878, 11.9840) |
| Luminance | 0.5439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.41
Baby Puke Green
#B6C406
ΔE00 3.32
Bile
#B5C306
ΔE00 3.45
Pea
#A4BF20
ΔE00 4.31
Gross Green
#A0BF16
ΔE00 4.81
Snot
#ACBB0D
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACD38 #4B38CD
analogous
#CD9538 #BACD38 #6FCD38
triadic
#BACD38 #38BACD #CD38BA
tetradic
#BACD38 #38CD95 #4B38CD #CD386F
square
#BACD38 #38CD95 #4B38CD #CD386F
split-complementary
#BACD38 #386FCD #9538CD
monochromatic
#646F1C #90A028 #BACD38 #CBD969 #DCE69A
Accessibility & contrast
On white
1.77
#BACD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.88
#BACD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACD38
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACD38 | 1.00 | 1.77 | 11.88 | 11.88 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C445
Tritanopia (blue-blind)
#C6C1B0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #bacd38; /* rgb */ color: rgb(186, 205, 56); /* oklch */ color: oklch(80.8% 0.167 116.7);
Tailwind
colors: {
custom: {
50: '#d2dc79',
500: '#bacd38',
950: '#000000',
},
}SCSS
$custom: #bacd38; $custom-light: #d2dc79; $custom-dark: #000000;
JSON
{
"hex": "#bacd38",
"rgb": {
"r": 186,
"g": 205,
"b": 56
},
"hsl": {
"h": 67.651,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.80774,
"c": 0.16707,
"h": 116.7
},
"luminance": 0.54387
}Semantic roles & 50–950 ramp
primary
#BACD38
secondary
#3A3178
accent
#45E359
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15150A
muted
#84847D