#AF782A#AF782A
#AF782A is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.114 H 71.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF782A |
|---|---|
| RGB | rgb(175, 120, 42) |
| HSL | hsl(35, 61%, 43%) |
| HSV | hsv(35, 76%, 69%) |
| CMYK | cmyk(0%, 31.4%, 76%, 31.4%) |
| CIE-LAB | lab(54.78, 14.49, 49.16) |
| CIE-LCH | lch(54.78, 51.25, 73.58°) |
| OKLab | oklab(61.55% 0.036 0.1084) |
| OKLCH | oklch(61.55% 0.114 71.6) |
| XYZ | xyz(24.8154, 22.7162, 5.2678) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 3.07
Caramel (survey)
#AF6F09
ΔE00 3.64
Golden Brown
#B27A01
ΔE00 4.21
Bronze (survey)
#A87900
ΔE00 5.54
Copper
#B87333
ΔE00 5.56
Tan Brown
#AB7E4C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF782A #2A61AF
analogous
#AF362A #AF782A #A3AF2A
triadic
#AF782A #2AAF78 #782AAF
tetradic
#AF782A #2AAF36 #2A61AF #AF2AA3
square
#AF782A #2AAF36 #2A61AF #AF2AA3
split-complementary
#AF782A #2AA3AF #362AAF
monochromatic
#4C3412 #7E561E #AF782A #D29744 #DEB375
Accessibility & contrast
On white
3.79
#AF782A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#AF782A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF782A
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF782A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF782A | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#BF6A68
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #af782a; /* rgb */ color: rgb(175, 120, 42); /* oklch */ color: oklch(61.5% 0.114 71.6);
Tailwind
colors: {
custom: {
50: '#cc9e69',
500: '#af782a',
950: '#000000',
},
}SCSS
$custom: #af782a; $custom-light: #cc9e69; $custom-dark: #000000;
JSON
{
"hex": "#af782a",
"rgb": {
"r": 175,
"g": 120,
"b": 42
},
"hsl": {
"h": 35.188,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.61548,
"c": 0.11421,
"h": 71.6
},
"luminance": 0.22714
}Semantic roles & 50–950 ramp
primary
#AF782A
secondary
#6F93C6
accent
#86E443
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A