#AFAE3E#AFAE3E
#AFAE3E is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.132 H 108.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE3E |
|---|---|
| RGB | rgb(175, 174, 62) |
| HSL | hsl(59, 48%, 46%) |
| HSV | hsv(59, 65%, 69%) |
| CMYK | cmyk(0%, 0.6%, 64.6%, 31.4%) |
| CIE-LAB | lab(69.28, -13.75, 55.46) |
| CIE-LCH | lch(69.28, 57.14, 103.92°) |
| OKLab | oklab(73.04% -0.0426 0.1254) |
| OKLCH | oklch(73.04% 0.132 108.8) |
| XYZ | xyz(33.6859, 39.7348, 10.4516) |
| Luminance | 0.3973 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.11
Puke
#A5A502
ΔE00 4.39
Mustard Green
#A8B504
ΔE00 5.02
Puke Green
#9AAE07
ΔE00 5.65
Snot
#ACBB0D
ΔE00 5.85
Pea Soup Green
#94A617
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE3E #3E3FAF
analogous
#AF763E #AFAE3E #78AF3E
triadic
#AFAE3E #3EAFAE #AE3EAF
tetradic
#AFAE3E #3EAF76 #3E3FAF #AF3E78
square
#AFAE3E #3EAF76 #3E3FAF #AF3E78
split-complementary
#AFAE3E #3E78AF #763EAF
monochromatic
#55541E #82812E #AFAE3E #C8C763 #D8D790
Accessibility & contrast
On white
2.35
#AFAE3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#AFAE3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE3E
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE3E | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae3e; /* rgb */ color: rgb(175, 174, 62); /* oklch */ color: oklch(73.0% 0.132 108.8);
Tailwind
colors: {
custom: {
50: '#cac579',
500: '#afae3e',
950: '#000000',
},
}SCSS
$custom: #afae3e; $custom-light: #cac579; $custom-dark: #000000;
JSON
{
"hex": "#afae3e",
"rgb": {
"r": 175,
"g": 174,
"b": 62
},
"hsl": {
"h": 59.469,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.73044,
"c": 0.13245,
"h": 108.8
},
"luminance": 0.39734
}Semantic roles & 50–950 ramp
primary
#AFAE3E
secondary
#8687C3
accent
#52D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B