#AF7940#AF7940
#AF7940 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 62.0% C 0.100 H 65.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7940 |
|---|---|
| RGB | rgb(175, 121, 64) |
| HSL | hsl(31, 46%, 47%) |
| HSV | hsv(31, 63%, 69%) |
| CMYK | cmyk(0%, 30.9%, 63.4%, 31.4%) |
| CIE-LAB | lab(55.24, 15.18, 39.13) |
| CIE-LCH | lch(55.24, 41.97, 68.79°) |
| OKLab | oklab(61.97% 0.0413 0.0909) |
| OKLCH | oklch(61.97% 0.1 65.6) |
| XYZ | xyz(25.4436, 23.1610, 7.9800) |
| Luminance | 0.2316 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.20
Tan Brown
#AB7E4C
ΔE00 2.71
Light Brown
#AD8150
ΔE00 3.48
Copper
#B87333
ΔE00 3.68
Clay Brown
#B2713D
ΔE00 4.11
Puce
#A57E52
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7940 #4076AF
analogous
#AF4240 #AF7940 #AEAF40
triadic
#AF7940 #40AF79 #7940AF
tetradic
#AF7940 #40AF42 #4076AF #AF40AE
square
#AF7940 #40AF42 #4076AF #AF40AE
split-complementary
#AF7940 #40AEAF #4240AF
monochromatic
#553B1F #825A30 #AF7940 #C79765 #D7B692
Accessibility & contrast
On white
3.73
#AF7940 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#AF7940 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7940
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7940 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#BE6D6C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #af7940; /* rgb */ color: rgb(175, 121, 64); /* oklch */ color: oklch(62.0% 0.100 65.6);
Tailwind
colors: {
custom: {
50: '#cb9f77',
500: '#af7940',
950: '#000000',
},
}SCSS
$custom: #af7940; $custom-light: #cb9f77; $custom-dark: #000000;
JSON
{
"hex": "#af7940",
"rgb": {
"r": 175,
"g": 121,
"b": 64
},
"hsl": {
"h": 30.811,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.61973,
"c": 0.09979,
"h": 65.6
},
"luminance": 0.23159
}Semantic roles & 50–950 ramp
primary
#AF7940
secondary
#88A5C3
accent
#92D652
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B