#AFAE2A#AFAE2A
#AFAE2A is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.9% C 0.145 H 109.1°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE2A |
|---|---|
| RGB | rgb(175, 174, 42) |
| HSL | hsl(60, 61%, 43%) |
| HSV | hsv(60, 76%, 69%) |
| CMYK | cmyk(0%, 0.6%, 76%, 31.4%) |
| CIE-LAB | lab(69.15, -14.78, 62.79) |
| CIE-LCH | lch(69.15, 64.50, 103.24°) |
| OKLab | oklab(72.9% -0.0475 0.1374) |
| OKLCH | oklch(72.9% 0.145 109.1) |
| XYZ | xyz(33.2344, 39.5543, 8.0741) |
| Luminance | 0.3955 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.06
Vomit
#A2A415
ΔE00 3.24
Mustard Green
#A8B504
ΔE00 3.79
Olive Yellow
#C2B709
ΔE00 4.81
Snot
#ACBB0D
ΔE00 4.84
Puke Green
#9AAE07
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE2A #2A2BAF
analogous
#AF6C2A #AFAE2A #6DAF2A
triadic
#AFAE2A #2AAFAE #AE2AAF
tetradic
#AFAE2A #2AAF6C #2A2BAF #AF2A6D
square
#AFAE2A #2AAF6C #2A2BAF #AF2A6D
split-complementary
#AFAE2A #2A6DAF #6C2AAF
monochromatic
#4C4C12 #7E7D1E #AFAE2A #D2D144 #DEDD75
Accessibility & contrast
On white
2.36
#AFAE2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#AFAE2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE2A
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE2A | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA708
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#BCA395
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae2a; /* rgb */ color: rgb(175, 174, 42); /* oklch */ color: oklch(72.9% 0.145 109.1);
Tailwind
colors: {
custom: {
50: '#cbc56f',
500: '#afae2a',
950: '#000000',
},
}SCSS
$custom: #afae2a; $custom-light: #cbc56f; $custom-dark: #000000;
JSON
{
"hex": "#afae2a",
"rgb": {
"r": 175,
"g": 174,
"b": 42
},
"hsl": {
"h": 59.549,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.72899,
"c": 0.14538,
"h": 109.1
},
"luminance": 0.39553
}Semantic roles & 50–950 ramp
primary
#AFAE2A
secondary
#6F70C6
accent
#45E443
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B