#AEC226#AEC226
#AEC226 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.3% C 0.168 H 117.2°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC226 |
|---|---|
| RGB | rgb(174, 194, 38) |
| HSL | hsl(68, 67%, 45%) |
| HSV | hsv(68, 80%, 76%) |
| CMYK | cmyk(10.3%, 0%, 80.4%, 23.9%) |
| CIE-LAB | lab(74.65, -25.33, 68.88) |
| CIE-LCH | lch(74.65, 73.39, 110.19°) |
| OKLab | oklab(77.28% -0.077 0.1497) |
| OKLCH | oklch(77.28% 0.168 117.2) |
| XYZ | xyz(37.0982, 47.7226, 9.0904) |
| Luminance | 0.4772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.82
Snot
#ACBB0D
ΔE00 2.24
Bile
#B5C306
ΔE00 2.32
Baby Puke Green
#B6C406
ΔE00 2.44
Gross Green
#A0BF16
ΔE00 2.50
Snot Green
#9DC100
ΔE00 3.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC226 #3A26C2
analogous
#C28826 #AEC226 #60C226
triadic
#AEC226 #26AEC2 #C226AE
tetradic
#AEC226 #26C288 #3A26C2 #C22660
square
#AEC226 #26C288 #3A26C2 #C22660
split-complementary
#AEC226 #2660C2 #8826C2
monochromatic
#525C12 #808F1C #AEC226 #C9DB4A #D8E67D
Accessibility & contrast
On white
1.99
#AEC226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#AEC226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC226
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC226 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CEB936
Tritanopia (blue-blind)
#B9B7A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #aec226; /* rgb */ color: rgb(174, 194, 38); /* oklch */ color: oklch(77.3% 0.168 117.2);
Tailwind
colors: {
custom: {
50: '#cad46f',
500: '#aec226',
950: '#000000',
},
}SCSS
$custom: #aec226; $custom-light: #cad46f; $custom-dark: #000000;
JSON
{
"hex": "#aec226",
"rgb": {
"r": 174,
"g": 194,
"b": 38
},
"hsl": {
"h": 67.692,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.77282,
"c": 0.16835,
"h": 117.2
},
"luminance": 0.47722
}Semantic roles & 50–950 ramp
primary
#AEC226
secondary
#8176CE
accent
#3EEA54
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B