#A4BA2A#A4BA2A
#A4BA2A is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.7% C 0.161 H 118.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A4BA2A |
|---|---|
| RGB | rgb(164, 186, 42) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 73%) |
| CMYK | cmyk(11.8%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(71.68, -25.47, 64.79) |
| CIE-LCH | lch(71.68, 69.62, 111.46°) |
| OKLab | oklab(74.71% -0.0766 0.1421) |
| OKLCH | oklch(74.71% 0.161 118.3) |
| XYZ | xyz(33.2874, 43.1778, 8.7706) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.51
Pea
#A4BF20
ΔE00 1.62
Bright Olive
#9CBB04
ΔE00 2.11
Gross Green
#A0BF16
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.72
Booger Green
#96B403
ΔE00 2.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4BA2A #402ABA
analogous
#BA882A #A4BA2A #5CBA2A
triadic
#A4BA2A #2AA4BA #BA2AA4
tetradic
#A4BA2A #2ABA88 #402ABA #BA2A5C
square
#A4BA2A #2ABA88 #402ABA #BA2A5C
split-complementary
#A4BA2A #2A5CBA #882ABA
monochromatic
#4C5613 #78881F #A4BA2A #C1D64B #D2E27D
Accessibility & contrast
On white
2.18
#A4BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#A4BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4BA2A
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4BA2A | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#AEAF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a4ba2a; /* rgb */ color: rgb(164, 186, 42); /* oklch */ color: oklch(74.7% 0.161 118.3);
Tailwind
colors: {
custom: {
50: '#c3ce70',
500: '#a4ba2a',
950: '#000000',
},
}SCSS
$custom: #a4ba2a; $custom-light: #c3ce70; $custom-dark: #000000;
JSON
{
"hex": "#a4ba2a",
"rgb": {
"r": 164,
"g": 186,
"b": 42
},
"hsl": {
"h": 69.167,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.74713,
"c": 0.16136,
"h": 118.3
},
"luminance": 0.43177
}Semantic roles & 50–950 ramp
primary
#A4BA2A
secondary
#8376CA
accent
#42E65B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B