#AEC042#AEC042
#AEC042 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.0% C 0.150 H 117.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC042 |
|---|---|
| RGB | rgb(174, 192, 66) |
| HSL | hsl(69, 50%, 51%) |
| HSV | hsv(69, 66%, 75%) |
| CMYK | cmyk(9.4%, 0%, 65.6%, 24.7%) |
| CIE-LAB | lab(74.25, -22.97, 58.98) |
| CIE-LCH | lch(74.25, 63.29, 111.28°) |
| OKLab | oklab(77.01% -0.068 0.1334) |
| OKLCH | oklch(77.01% 0.15 117) |
| XYZ | xyz(37.2894, 47.0917, 12.2784) |
| Luminance | 0.4709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.91
Sick Green
#9DB92C
ΔE00 3.25
Gross Green
#A0BF16
ΔE00 3.61
Snot
#ACBB0D
ΔE00 3.89
Booger
#9BB53C
ΔE00 3.96
Bright Olive
#9CBB04
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC042 #5442C0
analogous
#C09342 #AEC042 #6FC042
triadic
#AEC042 #42AEC0 #C042AE
tetradic
#AEC042 #42C093 #5442C0 #C0426F
square
#AEC042 #42C093 #5442C0 #C0426F
split-complementary
#AEC042 #426FC0 #9342C0
monochromatic
#5C6622 #869431 #AEC042 #C2CF70 #D5DF9E
Accessibility & contrast
On white
2.02
#AEC042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#AEC042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC042
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC042 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#B8B6A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #aec042; /* rgb */ color: rgb(174, 192, 66); /* oklch */ color: oklch(77.0% 0.150 117.0);
Tailwind
colors: {
custom: {
50: '#c9d37d',
500: '#aec042',
950: '#000000',
},
}SCSS
$custom: #aec042; $custom-light: #c9d37d; $custom-dark: #000000;
JSON
{
"hex": "#aec042",
"rgb": {
"r": 174,
"g": 192,
"b": 66
},
"hsl": {
"h": 68.571,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.77011,
"c": 0.14979,
"h": 117
},
"luminance": 0.47091
}Semantic roles & 50–950 ramp
primary
#AEC042
secondary
#9B93CB
accent
#4EDA62
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C