#AEA42F#AEA42F
#AEA42F is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.6% C 0.133 H 104.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AEA42F |
|---|---|
| RGB | rgb(174, 164, 47) |
| HSL | hsl(55, 57%, 43%) |
| HSV | hsv(55, 73%, 68%) |
| CMYK | cmyk(0%, 5.7%, 73%, 31.8%) |
| CIE-LAB | lab(66.33, -9.80, 58.38) |
| CIE-LCH | lch(66.33, 59.20, 99.53°) |
| OKLab | oklab(70.64% -0.0331 0.129) |
| OKLCH | oklch(70.64% 0.133 104.4) |
| XYZ | xyz(31.2454, 35.7561, 7.9445) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.51
Vomit
#A2A415
ΔE00 3.55
Muddy Yellow
#BFAC05
ΔE00 4.92
Brown Yellow
#B29705
ΔE00 6.06
Pea Soup
#929901
ΔE00 6.40
Olive Yellow
#C2B709
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AEA42F #2F39AE
analogous
#AE652F #AEA42F #78AE2F
triadic
#AEA42F #2FAEA4 #A42FAE
tetradic
#AEA42F #2FAE65 #2F39AE #AE2F78
square
#AEA42F #2FAE65 #2F39AE #AE2F78
split-complementary
#AEA42F #2F78AE #652FAE
monochromatic
#4E4915 #7E7722 #AEA42F #CFC44C #DCD47C
Accessibility & contrast
On white
2.58
#AEA42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#AEA42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AEA42F
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AEA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AEA42F | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B6A437
Tritanopia (blue-blind)
#BB998D
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #aea42f; /* rgb */ color: rgb(174, 164, 47); /* oklch */ color: oklch(70.6% 0.133 104.4);
Tailwind
colors: {
custom: {
50: '#cabe70',
500: '#aea42f',
950: '#000000',
},
}SCSS
$custom: #aea42f; $custom-light: #cabe70; $custom-dark: #000000;
JSON
{
"hex": "#aea42f",
"rgb": {
"r": 174,
"g": 164,
"b": 47
},
"hsl": {
"h": 55.276,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.70641,
"c": 0.13319,
"h": 104.4
},
"luminance": 0.35755
}Semantic roles & 50–950 ramp
primary
#AEA42F
secondary
#757BC4
accent
#53E147
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B