#BAC43A#BAC43A
#BAC43A is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.156 H 113.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC43A |
|---|---|
| RGB | rgb(186, 196, 58) |
| HSL | hsl(64, 54%, 50%) |
| HSV | hsv(64, 70%, 77%) |
| CMYK | cmyk(5.1%, 0%, 70.4%, 23.1%) |
| CIE-LAB | lab(76.21, -20.41, 64.30) |
| CIE-LCH | lch(76.21, 67.46, 107.61°) |
| OKLab | oklab(78.79% -0.0624 0.1431) |
| OKLCH | oklch(78.79% 0.156 113.6) |
| XYZ | xyz(40.7545, 50.2253, 11.5497) |
| Luminance | 0.5022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.73
Baby Puke Green
#B6C406
ΔE00 2.76
Snot
#ACBB0D
ΔE00 3.39
Pea
#A4BF20
ΔE00 4.13
Green Yellow
#B5CE08
ΔE00 4.23
Puke Yellow
#C2BE0E
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC43A #443AC4
analogous
#C4893A #BAC43A #75C43A
triadic
#BAC43A #3ABAC4 #C43ABA
tetradic
#BAC43A #3AC489 #443AC4 #C43A75
square
#BAC43A #3AC489 #443AC4 #C43A75
split-complementary
#BAC43A #3A75C4 #893AC4
monochromatic
#60661E #8D952C #BAC43A #CBD369 #DBE098
Accessibility & contrast
On white
1.90
#BAC43A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.04
#BAC43A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC43A
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC43A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC43A | 1.00 | 1.90 | 11.04 | 11.04 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BB22
Deuteranopia (green-blind)
#D2BD45
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac43a; /* rgb */ color: rgb(186, 196, 58); /* oklch */ color: oklch(78.8% 0.156 113.6);
Tailwind
colors: {
custom: {
50: '#d2d579',
500: '#bac43a',
950: '#000000',
},
}SCSS
$custom: #bac43a; $custom-light: #d2d579; $custom-dark: #000000;
JSON
{
"hex": "#bac43a",
"rgb": {
"r": 186,
"g": 196,
"b": 58
},
"hsl": {
"h": 64.348,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.78788,
"c": 0.15607,
"h": 113.6
},
"luminance": 0.50224
}Semantic roles & 50–950 ramp
primary
#BAC43A
secondary
#373270
accent
#4ADE55
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D