#AFAA3E#AFAA3E
#AFAA3E is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.2% C 0.128 H 106.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAA3E |
|---|---|
| RGB | rgb(175, 170, 62) |
| HSL | hsl(57, 48%, 46%) |
| HSV | hsv(57, 65%, 69%) |
| CMYK | cmyk(0%, 2.9%, 64.6%, 31.4%) |
| CIE-LAB | lab(68.18, -11.68, 54.31) |
| CIE-LCH | lch(68.18, 55.55, 102.14°) |
| OKLab | oklab(72.16% -0.0368 0.123) |
| OKLCH | oklch(72.16% 0.128 106.7) |
| XYZ | xyz(32.9246, 38.2123, 10.1979) |
| Luminance | 0.3821 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.96
Puke
#A5A502
ΔE00 4.24
Muddy Yellow
#BFAC05
ΔE00 6.02
Mustard Green
#A8B504
ΔE00 6.15
Khaki (survey)
#AAA662
ΔE00 6.25
Darkkhaki
#BDB76B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAA3E #3E43AF
analogous
#AF723E #AFAA3E #7CAF3E
triadic
#AFAA3E #3EAFAA #AA3EAF
tetradic
#AFAA3E #3EAF72 #3E43AF #AF3E7C
square
#AFAA3E #3EAF72 #3E43AF #AF3E7C
split-complementary
#AFAA3E #3E7CAF #723EAF
monochromatic
#55521E #827E2E #AFAA3E #C8C363 #D8D490
Accessibility & contrast
On white
2.43
#AFAA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#AFAA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAA3E
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAA3E | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A430
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #afaa3e; /* rgb */ color: rgb(175, 170, 62); /* oklch */ color: oklch(72.2% 0.128 106.7);
Tailwind
colors: {
custom: {
50: '#cac379',
500: '#afaa3e',
950: '#000000',
},
}SCSS
$custom: #afaa3e; $custom-light: #cac379; $custom-dark: #000000;
JSON
{
"hex": "#afaa3e",
"rgb": {
"r": 175,
"g": 170,
"b": 62
},
"hsl": {
"h": 57.345,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.72164,
"c": 0.12835,
"h": 106.7
},
"luminance": 0.38211
}Semantic roles & 50–950 ramp
primary
#AFAA3E
secondary
#8689C3
accent
#56D751
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B