#AEC240#AEC240
#AEC240 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.4% C 0.154 H 117.7°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC240 |
|---|---|
| RGB | rgb(174, 194, 64) |
| HSL | hsl(69, 52%, 51%) |
| HSV | hsv(69, 67%, 76%) |
| CMYK | cmyk(10.3%, 0%, 67%, 23.9%) |
| CIE-LAB | lab(74.80, -24.07, 60.33) |
| CIE-LCH | lch(74.80, 64.96, 111.75°) |
| OKLab | oklab(77.44% -0.0713 0.136) |
| OKLCH | oklch(77.44% 0.154 117.7) |
| XYZ | xyz(37.6735, 47.9528, 12.1207) |
| Luminance | 0.4795 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.63
Gross Green
#A0BF16
ΔE00 3.30
Sick Green
#9DB92C
ΔE00 3.31
Snot
#ACBB0D
ΔE00 3.92
Bright Olive
#9CBB04
ΔE00 4.07
Snot Green
#9DC100
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC240 #5440C2
analogous
#C29540 #AEC240 #6DC240
triadic
#AEC240 #40AEC2 #C240AE
tetradic
#AEC240 #40C295 #5440C2 #C2406D
square
#AEC240 #40C295 #5440C2 #C2406D
split-complementary
#AEC240 #406DC2 #9540C2
monochromatic
#5C6721 #869530 #AEC240 #C2D16E #D5E09D
Accessibility & contrast
On white
1.98
#AEC240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.59
#AEC240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC240
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC240 | 1.00 | 1.98 | 10.59 | 10.59 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B8B8A8
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #aec240; /* rgb */ color: rgb(174, 194, 64); /* oklch */ color: oklch(77.4% 0.154 117.7);
Tailwind
colors: {
custom: {
50: '#c9d47c',
500: '#aec240',
950: '#000000',
},
}SCSS
$custom: #aec240; $custom-light: #c9d47c; $custom-dark: #000000;
JSON
{
"hex": "#aec240",
"rgb": {
"r": 174,
"g": 194,
"b": 64
},
"hsl": {
"h": 69.231,
"s": 51.587,
"l": 50.588
},
"oklch": {
"l": 0.77445,
"c": 0.15356,
"h": 117.7
},
"luminance": 0.47952
}Semantic roles & 50–950 ramp
primary
#AEC240
secondary
#9B92CC
accent
#4DDB63
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C