#AF8A40#AF8A40
#AF8A40 is a light, moderate orange. Relative luminance 0.277; OKLCH L 65.4% C 0.102 H 82.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8A40 |
|---|---|
| RGB | rgb(175, 138, 64) |
| HSL | hsl(40, 46%, 47%) |
| HSV | hsv(40, 63%, 69%) |
| CMYK | cmyk(0%, 21.1%, 63.4%, 31.4%) |
| CIE-LAB | lab(59.58, 5.69, 44.07) |
| CIE-LCH | lch(59.58, 44.44, 82.64°) |
| OKLab | oklab(65.37% 0.0133 0.1015) |
| OKLCH | oklch(65.37% 0.102 82.5) |
| XYZ | xyz(27.6946, 27.6629, 8.7303) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 2.70
Dark Sand
#A88F59
ΔE00 4.94
Coffee
#A6814C
ΔE00 5.29
Darkgoldenrod
#B8860B
ΔE00 5.66
Yellowy Brown
#AE8B0C
ΔE00 6.10
Mustard Brown
#AC7E04
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8A40 #4065AF
analogous
#AF5340 #AF8A40 #9DAF40
triadic
#AF8A40 #40AF8A #8A40AF
tetradic
#AF8A40 #40AF53 #4065AF #AF409D
square
#AF8A40 #40AF53 #4065AF #AF409D
split-complementary
#AF8A40 #409DAF #5340AF
monochromatic
#55431F #826730 #AF8A40 #C7A665 #D7C092
Accessibility & contrast
On white
3.21
#AF8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#AF8A40 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8A40
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8A40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8A40 | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8A38
Deuteranopia (green-blind)
#A39343
Tritanopia (blue-blind)
#BD7F7A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #af8a40; /* rgb */ color: rgb(175, 138, 64); /* oklch */ color: oklch(65.4% 0.102 82.5);
Tailwind
colors: {
custom: {
50: '#caab78',
500: '#af8a40',
950: '#000000',
},
}SCSS
$custom: #af8a40; $custom-light: #caab78; $custom-dark: #000000;
JSON
{
"hex": "#af8a40",
"rgb": {
"r": 175,
"g": 138,
"b": 64
},
"hsl": {
"h": 40,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.6537,
"c": 0.10238,
"h": 82.5
},
"luminance": 0.27661
}Semantic roles & 50–950 ramp
primary
#AF8A40
secondary
#889CC3
accent
#7ED652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141009
muted
#827F7B