#AF7E31#AF7E31
#AF7E31 is a light, moderate orange. Relative luminance 0.243; OKLCH L 62.8% C 0.110 H 75.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7E31 |
|---|---|
| RGB | rgb(175, 126, 49) |
| HSL | hsl(37, 56%, 44%) |
| HSV | hsv(37, 72%, 69%) |
| CMYK | cmyk(0%, 28%, 72%, 31.4%) |
| CIE-LAB | lab(56.35, 11.47, 47.65) |
| CIE-LCH | lch(56.35, 49.01, 76.47°) |
| OKLab | oklab(62.79% 0.0282 0.1066) |
| OKLCH | oklch(62.79% 0.11 75.2) |
| XYZ | xyz(25.6962, 24.2595, 6.2343) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.09
Dark Tan
#AF884A
ΔE00 4.36
Leather
#AC7434
ΔE00 4.87
Coffee
#A6814C
ΔE00 4.93
Bronze (survey)
#A87900
ΔE00 4.95
Mustard Brown
#AC7E04
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7E31 #3162AF
analogous
#AF3F31 #AF7E31 #A1AF31
triadic
#AF7E31 #31AF7E #7E31AF
tetradic
#AF7E31 #31AF3F #3162AF #AF31A1
square
#AF7E31 #31AF3F #3162AF #AF31A1
split-complementary
#AF7E31 #31A1AF #3F31AF
monochromatic
#4F3916 #7F5C24 #AF7E31 #CE9D4F #DBB77F
Accessibility & contrast
On white
3.59
#AF7E31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#AF7E31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7E31
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7E31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7E31 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#9B8C33
Tritanopia (blue-blind)
#BE716E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af7e31; /* rgb */ color: rgb(175, 126, 49); /* oklch */ color: oklch(62.8% 0.110 75.2);
Tailwind
colors: {
custom: {
50: '#cba36d',
500: '#af7e31',
950: '#000000',
},
}SCSS
$custom: #af7e31; $custom-light: #cba36d; $custom-dark: #000000;
JSON
{
"hex": "#af7e31",
"rgb": {
"r": 175,
"g": 126,
"b": 49
},
"hsl": {
"h": 36.667,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.62789,
"c": 0.11027,
"h": 75.2
},
"luminance": 0.24257
}Semantic roles & 50–950 ramp
primary
#AF7E31
secondary
#7895C4
accent
#83E048
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A