#AF7F31#AF7F31
#AF7F31 is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.0% C 0.110 H 76.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F31 |
|---|---|
| RGB | rgb(175, 127, 49) |
| HSL | hsl(37, 56%, 44%) |
| HSV | hsv(37, 72%, 69%) |
| CMYK | cmyk(0%, 27.4%, 72%, 31.4%) |
| CIE-LAB | lab(56.60, 10.91, 47.91) |
| CIE-LCH | lch(56.60, 49.14, 77.18°) |
| OKLab | oklab(62.99% 0.0265 0.1072) |
| OKLCH | oklch(62.99% 0.11 76.1) |
| XYZ | xyz(25.8247, 24.5165, 6.2772) |
| Luminance | 0.2451 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 4.06
Dark Tan
#AF884A
ΔE00 4.15
Mustard Brown
#AC7E04
ΔE00 4.69
Bronze (survey)
#A87900
ΔE00 4.79
Coffee
#A6814C
ΔE00 4.96
Darkgoldenrod
#B8860B
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F31 #3161AF
analogous
#AF4031 #AF7F31 #A0AF31
triadic
#AF7F31 #31AF7F #7F31AF
tetradic
#AF7F31 #31AF40 #3161AF #AF31A0
square
#AF7F31 #31AF40 #3161AF #AF31A0
split-complementary
#AF7F31 #31A0AF #4031AF
monochromatic
#4F3A16 #7F5C24 #AF7F31 #CE9E4F #DBB87F
Accessibility & contrast
On white
3.56
#AF7F31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#AF7F31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F31
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F31 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#BE726F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f31; /* rgb */ color: rgb(175, 127, 49); /* oklch */ color: oklch(63.0% 0.110 76.1);
Tailwind
colors: {
custom: {
50: '#cba46d',
500: '#af7f31',
950: '#000000',
},
}SCSS
$custom: #af7f31; $custom-light: #cba46d; $custom-dark: #000000;
JSON
{
"hex": "#af7f31",
"rgb": {
"r": 175,
"g": 127,
"b": 49
},
"hsl": {
"h": 37.143,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.62988,
"c": 0.11041,
"h": 76.1
},
"luminance": 0.24514
}Semantic roles & 50–950 ramp
primary
#AF7F31
secondary
#7895C4
accent
#82E048
background
#FDFAF6
surface
#FAF3EC
border
#D3CDC7
text
#140F07
muted
#837F7A