#BAC02A#BAC02A
#BAC02A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.161 H 112.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC02A |
|---|---|
| RGB | rgb(186, 192, 42) |
| HSL | hsl(62, 64%, 46%) |
| HSV | hsv(62, 78%, 75%) |
| CMYK | cmyk(3.1%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(75.02, -19.13, 68.43) |
| CIE-LCH | lch(75.02, 71.06, 105.62°) |
| OKLab | oklab(77.81% -0.0602 0.149) |
| OKLCH | oklch(77.81% 0.161 112) |
| XYZ | xyz(39.5186, 48.3065, 9.4324) |
| Luminance | 0.4831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.16
Baby Puke Green
#B6C406
ΔE00 2.25
Snot
#ACBB0D
ΔE00 2.70
Puke Yellow
#C2BE0E
ΔE00 2.99
Vomit Yellow
#C7C10C
ΔE00 3.65
Mustard Green
#A8B504
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC02A #302AC0
analogous
#C07B2A #BAC02A #6FC02A
triadic
#BAC02A #2ABAC0 #C02ABA
tetradic
#BAC02A #2AC07B #302AC0 #C02A6F
square
#BAC02A #2AC07B #302AC0 #C02A6F
split-complementary
#BAC02A #2A6FC0 #7B2AC0
monochromatic
#595C14 #898E1F #BAC02A #D3D84F #DFE381
Accessibility & contrast
On white
1.97
#BAC02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#BAC02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC02A
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC02A | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D0BA38
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac02a; /* rgb */ color: rgb(186, 192, 42); /* oklch */ color: oklch(77.8% 0.161 112.0);
Tailwind
colors: {
custom: {
50: '#d3d271',
500: '#bac02a',
950: '#000000',
},
}SCSS
$custom: #bac02a; $custom-light: #d3d271; $custom-dark: #000000;
JSON
{
"hex": "#bac02a",
"rgb": {
"r": 186,
"g": 192,
"b": 42
},
"hsl": {
"h": 62.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77808,
"c": 0.16071,
"h": 112
},
"luminance": 0.48306
}Semantic roles & 50–950 ramp
primary
#BAC02A
secondary
#7D7ACC
accent
#41E747
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B