#AEC42F#AEC42F
#AEC42F is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.8% C 0.166 H 118.0°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC42F |
|---|---|
| RGB | rgb(174, 196, 47) |
| HSL | hsl(69, 61%, 48%) |
| HSV | hsv(69, 76%, 77%) |
| CMYK | cmyk(11.2%, 0%, 76%, 23.1%) |
| CIE-LAB | lab(75.25, -25.94, 66.80) |
| CIE-LCH | lch(75.25, 71.66, 111.22°) |
| OKLab | oklab(77.78% -0.078 0.1469) |
| OKLCH | oklch(77.78% 0.166 118) |
| XYZ | xyz(37.7095, 48.6841, 10.0992) |
| Luminance | 0.4868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.87
Gross Green
#A0BF16
ΔE00 2.51
Bile
#B5C306
ΔE00 3.03
Snot
#ACBB0D
ΔE00 3.10
Snot Green
#9DC100
ΔE00 3.10
Baby Puke Green
#B6C406
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC42F #452FC4
analogous
#C48F2F #AEC42F #63C42F
triadic
#AEC42F #2FAEC4 #C42FAE
tetradic
#AEC42F #2FC48F #452FC4 #C42F63
square
#AEC42F #2FC48F #452FC4 #C42F63
split-complementary
#AEC42F #2F63C4 #8F2FC4
monochromatic
#566117 #829323 #AEC42F #C5D759 #D6E38A
Accessibility & contrast
On white
1.96
#AEC42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#AEC42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC42F
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC42F | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B906
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#B9B9A8
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #aec42f; /* rgb */ color: rgb(174, 196, 47); /* oklch */ color: oklch(77.8% 0.166 118.0);
Tailwind
colors: {
custom: {
50: '#cad574',
500: '#aec42f',
950: '#000000',
},
}SCSS
$custom: #aec42f; $custom-light: #cad574; $custom-dark: #000000;
JSON
{
"hex": "#aec42f",
"rgb": {
"r": 174,
"g": 196,
"b": 47
},
"hsl": {
"h": 68.859,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.77782,
"c": 0.16627,
"h": 118
},
"luminance": 0.48684
}Semantic roles & 50–950 ramp
primary
#AEC42F
secondary
#8D82CD
accent
#43E45B
background
#FCFDF7
surface
#F9FAED
border
#D2D3C8
text
#141409
muted
#82837B