#AEB42A#AEB42A
#AEB42A is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.1% C 0.152 H 112.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AEB42A |
|---|---|
| RGB | rgb(174, 180, 42) |
| HSL | hsl(63, 62%, 44%) |
| HSV | hsv(63, 77%, 71%) |
| CMYK | cmyk(3.3%, 0%, 76.7%, 29.4%) |
| CIE-LAB | lab(70.74, -18.26, 64.21) |
| CIE-LCH | lch(70.74, 66.76, 105.87°) |
| OKLab | oklab(74.15% -0.0571 0.1405) |
| OKLCH | oklch(74.15% 0.152 112.1) |
| XYZ | xyz(34.1959, 41.8092, 8.4587) |
| Luminance | 0.4181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.15
Snot
#ACBB0D
ΔE00 2.86
Puke Green
#9AAE07
ΔE00 3.97
Puke
#A5A502
ΔE00 4.52
Vomit
#A2A415
ΔE00 4.57
Bile
#B5C306
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEB42A #302AB4
analogous
#B4752A #AEB42A #69B42A
triadic
#AEB42A #2AAEB4 #B42AAE
tetradic
#AEB42A #2AB475 #302AB4 #B42A69
square
#AEB42A #2AB475 #302AB4 #B42A69
split-complementary
#AEB42A #2A69B4 #752AB4
monochromatic
#4E5113 #7E821E #AEB42A #CED447 #DBE079
Accessibility & contrast
On white
2.24
#AEB42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#AEB42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEB42A
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEB42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEB42A | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#BAA99A
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aeb42a; /* rgb */ color: rgb(174, 180, 42); /* oklch */ color: oklch(74.1% 0.152 112.1);
Tailwind
colors: {
custom: {
50: '#caca6f',
500: '#aeb42a',
950: '#000000',
},
}SCSS
$custom: #aeb42a; $custom-light: #caca6f; $custom-dark: #000000;
JSON
{
"hex": "#aeb42a",
"rgb": {
"r": 174,
"g": 180,
"b": 42
},
"hsl": {
"h": 62.609,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.74149,
"c": 0.15165,
"h": 112.1
},
"luminance": 0.41808
}Semantic roles & 50–950 ramp
primary
#AEB42A
secondary
#7672C8
accent
#43E54A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B