#AFA03E#AFA03E
#AFA03E is a light, moderate yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.119 H 100.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA03E |
|---|---|
| RGB | rgb(175, 160, 62) |
| HSL | hsl(52, 48%, 46%) |
| HSV | hsv(52, 65%, 69%) |
| CMYK | cmyk(0%, 8.6%, 64.6%, 31.4%) |
| CIE-LAB | lab(65.44, -6.41, 51.41) |
| CIE-LCH | lch(65.44, 51.81, 97.11°) |
| OKLab | oklab(69.99% -0.0218 0.1168) |
| OKLCH | oklch(69.99% 0.119 100.6) |
| XYZ | xyz(31.1208, 34.6047, 9.5966) |
| Luminance | 0.3460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 5.54
Vomit
#A2A415
ΔE00 5.86
Puke
#A5A502
ΔE00 6.03
Khaki (survey)
#AAA662
ΔE00 6.21
Muddy Yellow
#BFAC05
ΔE00 6.46
Baby Poo
#AB9004
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA03E #3E4DAF
analogous
#AF683E #AFA03E #86AF3E
triadic
#AFA03E #3EAFA0 #A03EAF
tetradic
#AFA03E #3EAF68 #3E4DAF #AF3E86
square
#AFA03E #3EAF68 #3E4DAF #AF3E86
split-complementary
#AFA03E #3E86AF #683EAF
monochromatic
#554D1E #82772E #AFA03E #C8BA63 #D8CE90
Accessibility & contrast
On white
2.65
#AFA03E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#AFA03E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA03E
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA03E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA03E | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9C32
Deuteranopia (green-blind)
#B3A143
Tritanopia (blue-blind)
#BC958B
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #afa03e; /* rgb */ color: rgb(175, 160, 62); /* oklch */ color: oklch(70.0% 0.119 100.6);
Tailwind
colors: {
custom: {
50: '#cabb78',
500: '#afa03e',
950: '#000000',
},
}SCSS
$custom: #afa03e; $custom-light: #cabb78; $custom-dark: #000000;
JSON
{
"hex": "#afa03e",
"rgb": {
"r": 175,
"g": 160,
"b": 62
},
"hsl": {
"h": 52.035,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.69988,
"c": 0.11885,
"h": 100.6
},
"luminance": 0.34603
}Semantic roles & 50–950 ramp
primary
#AFA03E
secondary
#868EC3
accent
#62D751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B