#A8C02F#A8C02F
#A8C02F is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.4% C 0.164 H 118.9°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A8C02F |
|---|---|
| RGB | rgb(168, 192, 47) |
| HSL | hsl(70, 61%, 47%) |
| HSV | hsv(70, 76%, 75%) |
| CMYK | cmyk(12.5%, 0%, 75.5%, 24.7%) |
| CIE-LAB | lab(73.69, -26.49, 65.20) |
| CIE-LCH | lch(73.69, 70.37, 112.11°) |
| OKLab | oklab(76.42% -0.0792 0.1436) |
| OKLCH | oklch(76.42% 0.164 118.9) |
| XYZ | xyz(35.5119, 46.2296, 9.7412) |
| Luminance | 0.4623 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.05
Gross Green
#A0BF16
ΔE00 1.75
Sick Green
#9DB92C
ΔE00 2.34
Bright Olive
#9CBB04
ΔE00 2.53
Snot Green
#9DC100
ΔE00 2.61
Snot
#ACBB0D
ΔE00 3.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8C02F #472FC0
analogous
#C0902F #A8C02F #60C02F
triadic
#A8C02F #2FA8C0 #C02FA8
tetradic
#A8C02F #2FC090 #472FC0 #C02F60
square
#A8C02F #2FC090 #472FC0 #C02F60
split-complementary
#A8C02F #2F60C0 #902FC0
monochromatic
#525E17 #7D8F23 #A8C02F #C1D656 #D3E288
Accessibility & contrast
On white
2.05
#A8C02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.25
#A8C02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8C02F
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8C02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8C02F | 1.00 | 2.05 | 10.25 | 10.25 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB50A
Deuteranopia (green-blind)
#CAB63C
Tritanopia (blue-blind)
#B2B5A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a8c02f; /* rgb */ color: rgb(168, 192, 47); /* oklch */ color: oklch(76.4% 0.164 118.9);
Tailwind
colors: {
custom: {
50: '#c5d373',
500: '#a8c02f',
950: '#000000',
},
}SCSS
$custom: #a8c02f; $custom-light: #c5d373; $custom-dark: #000000;
JSON
{
"hex": "#a8c02f",
"rgb": {
"r": 168,
"g": 192,
"b": 47
},
"hsl": {
"h": 69.931,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.76418,
"c": 0.16402,
"h": 118.9
},
"luminance": 0.46229
}Semantic roles & 50–950 ramp
primary
#A8C02F
secondary
#8C7FCB
accent
#44E45E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B