#BAC62A#BAC62A
#BAC62A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.167 H 114.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC62A |
|---|---|
| RGB | rgb(186, 198, 42) |
| HSL | hsl(65, 65%, 47%) |
| HSV | hsv(65, 79%, 78%) |
| CMYK | cmyk(6.1%, 0%, 78.8%, 22.4%) |
| CIE-LAB | lab(76.68, -22.10, 69.91) |
| CIE-LCH | lch(76.68, 73.32, 107.54°) |
| OKLab | oklab(79.14% -0.0684 0.1522) |
| OKLCH | oklch(79.14% 0.167 114.2) |
| XYZ | xyz(40.8630, 50.9953, 9.8805) |
| Luminance | 0.5099 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.50
Bile
#B5C306
ΔE00 1.58
Green Yellow
#B5CE08
ΔE00 3.09
Snot
#ACBB0D
ΔE00 3.16
Pea
#A4BF20
ΔE00 4.09
Puke Yellow
#C2BE0E
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC62A #362AC6
analogous
#C6842A #BAC62A #6CC62A
triadic
#BAC62A #2ABAC6 #C62ABA
tetradic
#BAC62A #2AC684 #362AC6 #C62A6C
square
#BAC62A #2AC684 #362AC6 #C62A6C
split-complementary
#BAC62A #2A6CC6 #842AC6
monochromatic
#5B6115 #8B941F #BAC62A #D0DA53 #DEE585
Accessibility & contrast
On white
1.88
#BAC62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.20
#BAC62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC62A
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC62A | 1.00 | 1.88 | 11.20 | 11.20 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BF39
Tritanopia (blue-blind)
#C7BAAA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac62a; /* rgb */ color: rgb(186, 198, 42); /* oklch */ color: oklch(79.1% 0.167 114.2);
Tailwind
colors: {
custom: {
50: '#d3d772',
500: '#bac62a',
950: '#000000',
},
}SCSS
$custom: #bac62a; $custom-light: #d3d772; $custom-dark: #000000;
JSON
{
"hex": "#bac62a",
"rgb": {
"r": 186,
"g": 198,
"b": 42
},
"hsl": {
"h": 64.615,
"s": 65,
"l": 47.059
},
"oklch": {
"l": 0.79137,
"c": 0.16684,
"h": 114.2
},
"luminance": 0.50994
}Semantic roles & 50–950 ramp
primary
#BAC62A
secondary
#2E286C
accent
#40E84D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D