#AEC231#AEC231
#AEC231 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.3% C 0.163 H 117.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AEC231 |
|---|---|
| RGB | rgb(174, 194, 49) |
| HSL | hsl(68, 60%, 48%) |
| HSV | hsv(68, 75%, 76%) |
| CMYK | cmyk(10.3%, 0%, 74.7%, 23.9%) |
| CIE-LAB | lab(74.70, -24.88, 65.65) |
| CIE-LCH | lch(74.70, 70.20, 110.76°) |
| OKLab | oklab(77.34% -0.0749 0.1447) |
| OKLCH | oklch(77.34% 0.163 117.4) |
| XYZ | xyz(37.3026, 47.8044, 10.1672) |
| Luminance | 0.4780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.85
Gross Green
#A0BF16
ΔE00 2.59
Snot
#ACBB0D
ΔE00 2.77
Bile
#B5C306
ΔE00 3.03
Baby Puke Green
#B6C406
ΔE00 3.14
Snot Green
#9DC100
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEC231 #4531C2
analogous
#C28E31 #AEC231 #65C231
triadic
#AEC231 #31AEC2 #C231AE
tetradic
#AEC231 #31C28E #4531C2 #C23165
square
#AEC231 #31C28E #4531C2 #C23165
split-complementary
#AEC231 #3165C2 #8E31C2
monochromatic
#566018 #829125 #AEC231 #C5D65B #D6E28C
Accessibility & contrast
On white
1.99
#AEC231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#AEC231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEC231
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEC231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEC231 | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB70F
Deuteranopia (green-blind)
#CDB93E
Tritanopia (blue-blind)
#B9B7A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #aec231; /* rgb */ color: rgb(174, 194, 49); /* oklch */ color: oklch(77.3% 0.163 117.4);
Tailwind
colors: {
custom: {
50: '#cad474',
500: '#aec231',
950: '#000000',
},
}SCSS
$custom: #aec231; $custom-light: #cad474; $custom-dark: #000000;
JSON
{
"hex": "#aec231",
"rgb": {
"r": 174,
"g": 194,
"b": 49
},
"hsl": {
"h": 68.276,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.7734,
"c": 0.16297,
"h": 117.4
},
"luminance": 0.47804
}Semantic roles & 50–950 ramp
primary
#AEC231
secondary
#8D83CC
accent
#45E35B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B