#AFAE23#AFAE23
#AFAE23 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.9% C 0.149 H 109.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE23 |
|---|---|
| RGB | rgb(175, 174, 35) |
| HSL | hsl(60, 67%, 41%) |
| HSV | hsv(60, 80%, 69%) |
| CMYK | cmyk(0%, 0.6%, 80%, 31.4%) |
| CIE-LAB | lab(69.12, -15.04, 64.88) |
| CIE-LCH | lch(69.12, 66.60, 103.05°) |
| OKLab | oklab(72.86% -0.0488 0.1406) |
| OKLCH | oklch(72.86% 0.149 109.1) |
| XYZ | xyz(33.1199, 39.5085, 7.4710) |
| Luminance | 0.3951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.85
Vomit
#A2A415
ΔE00 3.20
Mustard Green
#A8B504
ΔE00 3.60
Olive Yellow
#C2B709
ΔE00 4.52
Snot
#ACBB0D
ΔE00 4.70
Puke Green
#9AAE07
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE23 #2324AF
analogous
#AF6823 #AFAE23 #6AAF23
triadic
#AFAE23 #23AFAE #AE23AF
tetradic
#AFAE23 #23AF68 #2324AF #AF236A
square
#AFAE23 #23AF68 #2324AF #AF236A
split-complementary
#AFAE23 #236AAF #6823AF
monochromatic
#49490F #7C7B19 #AFAE23 #D7D638 #E1E16B
Accessibility & contrast
On white
2.36
#AFAE23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#AFAE23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE23
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE23 | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BEAB30
Tritanopia (blue-blind)
#BCA295
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae23; /* rgb */ color: rgb(175, 174, 35); /* oklch */ color: oklch(72.9% 0.149 109.1);
Tailwind
colors: {
custom: {
50: '#cbc56c',
500: '#afae23',
950: '#000000',
},
}SCSS
$custom: #afae23; $custom-light: #cbc56c; $custom-dark: #000000;
JSON
{
"hex": "#afae23",
"rgb": {
"r": 175,
"g": 174,
"b": 35
},
"hsl": {
"h": 59.571,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.72862,
"c": 0.14881,
"h": 109.1
},
"luminance": 0.39507
}Semantic roles & 50–950 ramp
primary
#AFAE23
secondary
#6667C7
accent
#3FEA3E
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A