#AF8240#AF8240
#AF8240 is a light, moderate orange. Relative luminance 0.254; OKLCH L 63.7% C 0.100 H 74.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8240 |
|---|---|
| RGB | rgb(175, 130, 64) |
| HSL | hsl(36, 46%, 47%) |
| HSV | hsv(36, 63%, 69%) |
| CMYK | cmyk(0%, 25.7%, 63.4%, 31.4%) |
| CIE-LAB | lab(57.51, 10.14, 41.73) |
| CIE-LCH | lch(57.51, 42.95, 76.34°) |
| OKLab | oklab(63.75% 0.0264 0.0965) |
| OKLCH | oklch(63.75% 0.1 74.7) |
| XYZ | xyz(26.5888, 25.4513, 8.3617) |
| Luminance | 0.2545 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 2.40
Coffee
#A6814C
ΔE00 3.15
Light Brown
#AD8150
ΔE00 3.89
Tan Brown
#AB7E4C
ΔE00 3.93
Puce
#A57E52
ΔE00 5.16
Leather
#AC7434
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8240 #406DAF
analogous
#AF4B40 #AF8240 #A5AF40
triadic
#AF8240 #40AF82 #8240AF
tetradic
#AF8240 #40AF4B #406DAF #AF40A5
square
#AF8240 #40AF4B #406DAF #AF40A5
split-complementary
#AF8240 #40A5AF #4B40AF
monochromatic
#553F1F #826130 #AF8240 #C79F65 #D7BB92
Accessibility & contrast
On white
3.45
#AF8240 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#AF8240 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8240
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8240 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#9D8F42
Tritanopia (blue-blind)
#BE7673
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #af8240; /* rgb */ color: rgb(175, 130, 64); /* oklch */ color: oklch(63.7% 0.100 74.7);
Tailwind
colors: {
custom: {
50: '#caa677',
500: '#af8240',
950: '#000000',
},
}SCSS
$custom: #af8240; $custom-light: #caa677; $custom-dark: #000000;
JSON
{
"hex": "#af8240",
"rgb": {
"r": 175,
"g": 130,
"b": 64
},
"hsl": {
"h": 35.676,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.63747,
"c": 0.10003,
"h": 74.7
},
"luminance": 0.25449
}Semantic roles & 50–950 ramp
primary
#AF8240
secondary
#88A0C3
accent
#87D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B