#AEC242#AEC242
#AEC242 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.152 H 117.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC242 |
|---|---|
| RGB | rgb(174, 194, 66) |
| HSL | hsl(69, 51%, 51%) |
| HSV | hsv(69, 66%, 76%) |
| CMYK | cmyk(10.3%, 0%, 66%, 23.9%) |
| CIE-LAB | lab(74.81, -23.95, 59.56) |
| CIE-LCH | lch(74.81, 64.19, 111.91°) |
| OKLab | oklab(77.46% -0.0708 0.1347) |
| OKLCH | oklch(77.46% 0.152 117.7) |
| XYZ | xyz(37.7315, 47.9760, 12.4258) |
| Luminance | 0.4798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.79
Sick Green
#9DB92C
ΔE00 3.35
Gross Green
#A0BF16
ΔE00 3.45
Snot
#ACBB0D
ΔE00 4.10
Booger
#9BB53C
ΔE00 4.20
Bright Olive
#9CBB04
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC242 #5642C2
analogous
#C29642 #AEC242 #6EC242
triadic
#AEC242 #42AEC2 #C242AE
tetradic
#AEC242 #42C296 #5642C2 #C2426E
square
#AEC242 #42C296 #5642C2 #C2426E
split-complementary
#AEC242 #426EC2 #9642C2
monochromatic
#5D6822 #869631 #AEC242 #C2D170 #D6E09F
Accessibility & contrast
On white
1.98
#AEC242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#AEC242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC242
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC242 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#B8B8A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #aec242; /* rgb */ color: rgb(174, 194, 66); /* oklch */ color: oklch(77.5% 0.152 117.7);
Tailwind
colors: {
custom: {
50: '#c9d47d',
500: '#aec242',
950: '#000000',
},
}SCSS
$custom: #aec242; $custom-light: #c9d47d; $custom-dark: #000000;
JSON
{
"hex": "#aec242",
"rgb": {
"r": 174,
"g": 194,
"b": 66
},
"hsl": {
"h": 69.375,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.77462,
"c": 0.15213,
"h": 117.7
},
"luminance": 0.47976
}Semantic roles & 50–950 ramp
primary
#AEC242
secondary
#9C94CC
accent
#4DDB63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C