#A8C12A#A8C12A
#A8C12A is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.6% C 0.168 H 119.1°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A8C12A |
|---|---|
| RGB | rgb(168, 193, 42) |
| HSL | hsl(70, 64%, 46%) |
| HSV | hsv(70, 78%, 76%) |
| CMYK | cmyk(13%, 0%, 78.2%, 24.3%) |
| CIE-LAB | lab(73.95, -27.19, 66.97) |
| CIE-LCH | lch(73.95, 72.28, 112.10°) |
| OKLab | oklab(76.62% -0.0815 0.1466) |
| OKLCH | oklch(76.62% 0.168 119.1) |
| XYZ | xyz(35.6371, 46.6322, 9.3136) |
| Luminance | 0.4663 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 0.83
Gross Green
#A0BF16
ΔE00 1.51
Snot Green
#9DC100
ΔE00 2.29
Bright Olive
#9CBB04
ΔE00 2.41
Sick Green
#9DB92C
ΔE00 2.62
Snot
#ACBB0D
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8C12A #432AC1
analogous
#C18E2A #A8C12A #5CC12A
triadic
#A8C12A #2AA8C1 #C12AA8
tetradic
#A8C12A #2AC18E #432AC1 #C12A5C
square
#A8C12A #2AC18E #432AC1 #C12A5C
split-complementary
#A8C12A #2A5CC1 #8E2AC1
monochromatic
#505C14 #7C8F1F #A8C12A #C2D94F #D3E482
Accessibility & contrast
On white
2.03
#A8C12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#A8C12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8C12A
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8C12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8C12A | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#B2B6A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #a8c12a; /* rgb */ color: rgb(168, 193, 42); /* oklch */ color: oklch(76.6% 0.168 119.1);
Tailwind
colors: {
custom: {
50: '#c6d371',
500: '#a8c12a',
950: '#000000',
},
}SCSS
$custom: #a8c12a; $custom-light: #c6d371; $custom-dark: #000000;
JSON
{
"hex": "#a8c12a",
"rgb": {
"r": 168,
"g": 193,
"b": 42
},
"hsl": {
"h": 69.934,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.76619,
"c": 0.16768,
"h": 119.1
},
"luminance": 0.46632
}Semantic roles & 50–950 ramp
primary
#A8C12A
secondary
#887ACD
accent
#41E75C
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#131408
muted
#82827B