#AF8540#AF8540
#AF8540 is a light, moderate orange. Relative luminance 0.263; OKLCH L 64.4% C 0.101 H 77.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8540 |
|---|---|
| RGB | rgb(175, 133, 64) |
| HSL | hsl(37, 46%, 47%) |
| HSV | hsv(37, 63%, 69%) |
| CMYK | cmyk(0%, 24%, 63.4%, 31.4%) |
| CIE-LAB | lab(58.28, 8.47, 42.61) |
| CIE-LCH | lch(58.28, 43.44, 78.76°) |
| OKLab | oklab(64.35% 0.0215 0.0984) |
| OKLCH | oklch(64.35% 0.101 77.7) |
| XYZ | xyz(26.9937, 26.2611, 8.4966) |
| Luminance | 0.2626 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 1.66
Coffee
#A6814C
ΔE00 3.64
Light Brown
#AD8150
ΔE00 4.98
Tan Brown
#AB7E4C
ΔE00 5.19
Dark Sand
#A88F59
ΔE00 5.98
Puce
#A57E52
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8540 #406AAF
analogous
#AF4D40 #AF8540 #A2AF40
triadic
#AF8540 #40AF85 #8540AF
tetradic
#AF8540 #40AF4D #406AAF #AF40A2
square
#AF8540 #40AF4D #406AAF #AF40A2
split-complementary
#AF8540 #40A2AF #4D40AF
monochromatic
#55411F #826330 #AF8540 #C7A265 #D7BD92
Accessibility & contrast
On white
3.36
#AF8540 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#AF8540 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8540
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8540 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958639
Deuteranopia (green-blind)
#9F9042
Tritanopia (blue-blind)
#BD7976
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #af8540; /* rgb */ color: rgb(175, 133, 64); /* oklch */ color: oklch(64.4% 0.101 77.7);
Tailwind
colors: {
custom: {
50: '#caa877',
500: '#af8540',
950: '#000000',
},
}SCSS
$custom: #af8540; $custom-light: #caa877; $custom-dark: #000000;
JSON
{
"hex": "#af8540",
"rgb": {
"r": 175,
"g": 133,
"b": 64
},
"hsl": {
"h": 37.297,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.64351,
"c": 0.10068,
"h": 77.7
},
"luminance": 0.26259
}Semantic roles & 50–950 ramp
primary
#AF8540
secondary
#889EC3
accent
#84D652
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B