#AF7840#AF7840
#AF7840 is a mid, moderate orange. Relative luminance 0.229; OKLCH L 61.8% C 0.100 H 64.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7840 |
|---|---|
| RGB | rgb(175, 120, 64) |
| HSL | hsl(30, 46%, 47%) |
| HSV | hsv(30, 63%, 69%) |
| CMYK | cmyk(0%, 31.4%, 63.4%, 31.4%) |
| CIE-LAB | lab(54.99, 15.74, 38.84) |
| CIE-LCH | lch(54.99, 41.91, 67.93°) |
| OKLab | oklab(61.78% 0.0429 0.0902) |
| OKLCH | oklch(61.78% 0.1 64.6) |
| XYZ | xyz(25.3227, 22.9192, 7.9397) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.21
Tan Brown
#AB7E4C
ΔE00 2.99
Copper
#B87333
ΔE00 3.36
Clay Brown
#B2713D
ΔE00 3.60
Light Brown
#AD8150
ΔE00 3.77
Puce
#A57E52
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7840 #4077AF
analogous
#AF4040 #AF7840 #AFAF40
triadic
#AF7840 #40AF78 #7840AF
tetradic
#AF7840 #40AF40 #4077AF #AF40AF
square
#AF7840 #40AF40 #4077AF #AF40AF
split-complementary
#AF7840 #40AFAF #4040AF
monochromatic
#553B1F #825930 #AF7840 #C79765 #D7B592
Accessibility & contrast
On white
3.76
#AF7840 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#AF7840 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7840
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7840 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7840 | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C3B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#BE6C6B
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #af7840; /* rgb */ color: rgb(175, 120, 64); /* oklch */ color: oklch(61.8% 0.100 64.6);
Tailwind
colors: {
custom: {
50: '#cb9f77',
500: '#af7840',
950: '#000000',
},
}SCSS
$custom: #af7840; $custom-light: #cb9f77; $custom-dark: #000000;
JSON
{
"hex": "#af7840",
"rgb": {
"r": 175,
"g": 120,
"b": 64
},
"hsl": {
"h": 30.27,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.61779,
"c": 0.09994,
"h": 64.6
},
"luminance": 0.22917
}Semantic roles & 50–950 ramp
primary
#AF7840
secondary
#88A5C3
accent
#93D652
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B