#BACA2A#BACA2A
#BACA2A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.171 H 115.6°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BACA2A |
|---|---|
| RGB | rgb(186, 202, 42) |
| HSL | hsl(66, 66%, 48%) |
| HSV | hsv(66, 79%, 79%) |
| CMYK | cmyk(7.9%, 0%, 79.2%, 20.8%) |
| CIE-LAB | lab(77.79, -24.05, 70.90) |
| CIE-LCH | lch(77.79, 74.86, 108.74°) |
| OKLab | oklab(80.03% -0.0738 0.1543) |
| OKLCH | oklch(80.03% 0.171 115.6) |
| XYZ | xyz(41.7894, 52.8480, 10.1893) |
| Luminance | 0.5285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.00
Green Yellow
#B5CE08
ΔE00 2.10
Bile
#B5C306
ΔE00 2.16
Snot
#ACBB0D
ΔE00 3.92
Pea
#A4BF20
ΔE00 4.16
Gross Green
#A0BF16
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACA2A #3A2ACA
analogous
#CA8A2A #BACA2A #6ACA2A
triadic
#BACA2A #2ABACA #CA2ABA
tetradic
#BACA2A #2ACA8A #3A2ACA #CA2A6A
square
#BACA2A #2ACA8A #3A2ACA #CA2A6A
split-complementary
#BACA2A #2A6ACA #8A2ACA
monochromatic
#5D6515 #8B971F #BACA2A #CEDC55 #DDE688
Accessibility & contrast
On white
1.82
#BACA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#BACA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACA2A
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACA2A | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D8C13A
Tritanopia (blue-blind)
#C6BEAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #baca2a; /* rgb */ color: rgb(186, 202, 42); /* oklch */ color: oklch(80.0% 0.171 115.6);
Tailwind
colors: {
custom: {
50: '#d3da72',
500: '#baca2a',
950: '#000000',
},
}SCSS
$custom: #baca2a; $custom-light: #d3da72; $custom-dark: #000000;
JSON
{
"hex": "#baca2a",
"rgb": {
"r": 186,
"g": 202,
"b": 42
},
"hsl": {
"h": 66,
"s": 65.574,
"l": 47.843
},
"oklch": {
"l": 0.80027,
"c": 0.17101,
"h": 115.6
},
"luminance": 0.52847
}Semantic roles & 50–950 ramp
primary
#BACA2A
secondary
#30296F
accent
#3FE950
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D