#AEC342#AEC342
#AEC342 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.153 H 118.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC342 |
|---|---|
| RGB | rgb(174, 195, 66) |
| HSL | hsl(70, 52%, 51%) |
| HSV | hsv(70, 66%, 76%) |
| CMYK | cmyk(10.8%, 0%, 66.2%, 23.5%) |
| CIE-LAB | lab(75.09, -24.44, 59.85) |
| CIE-LCH | lch(75.09, 64.65, 112.21°) |
| OKLab | oklab(77.69% -0.0721 0.1353) |
| OKLCH | oklch(77.69% 0.153 118.1) |
| XYZ | xyz(37.9548, 48.4226, 12.5002) |
| Luminance | 0.4842 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.78
Gross Green
#A0BF16
ΔE00 3.41
Sick Green
#9DB92C
ΔE00 3.44
Snot Green
#9DC100
ΔE00 4.13
Bright Olive
#9CBB04
ΔE00 4.23
Snot
#ACBB0D
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC342 #5742C3
analogous
#C39742 #AEC342 #6DC342
triadic
#AEC342 #42AEC3 #C342AE
tetradic
#AEC342 #42C397 #5742C3 #C3426D
square
#AEC342 #42C397 #5742C3 #C3426D
split-complementary
#AEC342 #426DC3 #9742C3
monochromatic
#5E6921 #879830 #AEC342 #C2D270 #D6E09F
Accessibility & contrast
On white
1.97
#AEC342 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AEC342 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC342
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC342 | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#B8B9A9
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #aec342; /* rgb */ color: rgb(174, 195, 66); /* oklch */ color: oklch(77.7% 0.153 118.1);
Tailwind
colors: {
custom: {
50: '#c9d57d',
500: '#aec342',
950: '#000000',
},
}SCSS
$custom: #aec342; $custom-light: #c9d57d; $custom-dark: #000000;
JSON
{
"hex": "#aec342",
"rgb": {
"r": 174,
"g": 195,
"b": 66
},
"hsl": {
"h": 69.767,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.77687,
"c": 0.1533,
"h": 118.1
},
"luminance": 0.48422
}Semantic roles & 50–950 ramp
primary
#AEC342
secondary
#9D94CD
accent
#4DDB64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C