#AEC340#AEC340
#AEC340 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.7% C 0.155 H 118.0°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC340 |
|---|---|
| RGB | rgb(174, 195, 64) |
| HSL | hsl(70, 52%, 51%) |
| HSV | hsv(70, 67%, 76%) |
| CMYK | cmyk(10.8%, 0%, 67.2%, 23.5%) |
| CIE-LAB | lab(75.08, -24.56, 60.62) |
| CIE-LCH | lch(75.08, 65.41, 112.06°) |
| OKLab | oklab(77.67% -0.0727 0.1366) |
| OKLCH | oklch(77.67% 0.155 118) |
| XYZ | xyz(37.8968, 48.3994, 12.1951) |
| Luminance | 0.4840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.62
Gross Green
#A0BF16
ΔE00 3.26
Sick Green
#9DB92C
ΔE00 3.40
Snot Green
#9DC100
ΔE00 3.98
Snot
#ACBB0D
ΔE00 4.06
Bright Olive
#9CBB04
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC340 #5540C3
analogous
#C39640 #AEC340 #6CC340
triadic
#AEC340 #40AEC3 #C340AE
tetradic
#AEC340 #40C396 #5540C3 #C3406C
square
#AEC340 #40C396 #5540C3 #C3406C
split-complementary
#AEC340 #406CC3 #9640C3
monochromatic
#5D6821 #86972F #AEC340 #C2D26F #D5E09D
Accessibility & contrast
On white
1.97
#AEC340 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#AEC340 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC340
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC340 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC340 | 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)
#D0B92D
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B8B9A9
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #aec340; /* rgb */ color: rgb(174, 195, 64); /* oklch */ color: oklch(77.7% 0.155 118.0);
Tailwind
colors: {
custom: {
50: '#c9d57c',
500: '#aec340',
950: '#000000',
},
}SCSS
$custom: #aec340; $custom-light: #c9d57c; $custom-dark: #000000;
JSON
{
"hex": "#aec340",
"rgb": {
"r": 174,
"g": 195,
"b": 64
},
"hsl": {
"h": 69.618,
"s": 52.191,
"l": 50.784
},
"oklch": {
"l": 0.77671,
"c": 0.15473,
"h": 118
},
"luminance": 0.48399
}Semantic roles & 50–950 ramp
primary
#AEC340
secondary
#9C92CC
accent
#4CDC63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C