#BAC03A#BAC03A
#BAC03A is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.9% C 0.152 H 112.0°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC03A |
|---|---|
| RGB | rgb(186, 192, 58) |
| HSL | hsl(63, 54%, 49%) |
| HSV | hsv(63, 70%, 75%) |
| CMYK | cmyk(3.1%, 0%, 69.8%, 24.7%) |
| CIE-LAB | lab(75.10, -18.42, 63.22) |
| CIE-LCH | lch(75.10, 65.85, 106.25°) |
| OKLab | oklab(77.91% -0.0568 0.1408) |
| OKLCH | oklch(77.91% 0.152 112) |
| XYZ | xyz(39.8643, 48.4448, 11.2530) |
| Luminance | 0.4844 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 3.16
Baby Puke Green
#B6C406
ΔE00 3.24
Snot
#ACBB0D
ΔE00 3.27
Puke Yellow
#C2BE0E
ΔE00 3.96
Mustard Green
#A8B504
ΔE00 4.15
Vomit Yellow
#C7C10C
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC03A #403AC0
analogous
#C0833A #BAC03A #77C03A
triadic
#BAC03A #3ABAC0 #C03ABA
tetradic
#BAC03A #3AC083 #403AC0 #C03A77
square
#BAC03A #3AC083 #403AC0 #C03A77
split-complementary
#BAC03A #3A77C0 #833AC0
monochromatic
#5F621E #8C912C #BAC03A #CCD166 #DCDF95
Accessibility & contrast
On white
1.96
#BAC03A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#BAC03A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC03A
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC03A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC03A | 1.00 | 1.96 | 10.69 | 10.69 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB724
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#C7B4A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac03a; /* rgb */ color: rgb(186, 192, 58); /* oklch */ color: oklch(77.9% 0.152 112.0);
Tailwind
colors: {
custom: {
50: '#d2d279',
500: '#bac03a',
950: '#000000',
},
}SCSS
$custom: #bac03a; $custom-light: #d2d279; $custom-dark: #000000;
JSON
{
"hex": "#bac03a",
"rgb": {
"r": 186,
"g": 192,
"b": 58
},
"hsl": {
"h": 62.687,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.77905,
"c": 0.15181,
"h": 112
},
"luminance": 0.48444
}Semantic roles & 50–950 ramp
primary
#BAC03A
secondary
#8E8BCA
accent
#4BDD51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C