#AF7828#AF7828
#AF7828 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.115 H 72.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7828 |
|---|---|
| RGB | rgb(175, 120, 40) |
| HSL | hsl(36, 63%, 42%) |
| HSV | hsv(36, 77%, 69%) |
| CMYK | cmyk(0%, 31.4%, 77.1%, 31.4%) |
| CIE-LAB | lab(54.76, 14.40, 49.99) |
| CIE-LCH | lch(54.76, 52.02, 73.93°) |
| OKLab | oklab(61.53% 0.0355 0.1097) |
| OKLCH | oklch(61.53% 0.115 72.1) |
| XYZ | xyz(24.7805, 22.7023, 5.0840) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 3.36
Caramel (survey)
#AF6F09
ΔE00 3.53
Golden Brown
#B27A01
ΔE00 3.90
Bronze (survey)
#A87900
ΔE00 5.25
Copper
#B87333
ΔE00 5.82
Tan Brown
#AB7E4C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7828 #285FAF
analogous
#AF3528 #AF7828 #A2AF28
triadic
#AF7828 #28AF78 #7828AF
tetradic
#AF7828 #28AF35 #285FAF #AF28A2
square
#AF7828 #28AF35 #285FAF #AF28A2
split-complementary
#AF7828 #28A2AF #3528AF
monochromatic
#4B3411 #7D561D #AF7828 #D49841 #DFB373
Accessibility & contrast
On white
3.79
#AF7828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#AF7828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7828
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7828 | 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)
#8B7B1C
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#BF6A68
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #af7828; /* rgb */ color: rgb(175, 120, 40); /* oklch */ color: oklch(61.5% 0.115 72.1);
Tailwind
colors: {
custom: {
50: '#cc9e68',
500: '#af7828',
950: '#000000',
},
}SCSS
$custom: #af7828; $custom-light: #cc9e68; $custom-dark: #000000;
JSON
{
"hex": "#af7828",
"rgb": {
"r": 175,
"g": 120,
"b": 40
},
"hsl": {
"h": 35.556,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.61532,
"c": 0.11531,
"h": 72.1
},
"luminance": 0.227
}Semantic roles & 50–950 ramp
primary
#AF7828
secondary
#6D91C6
accent
#85E642
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E06
muted
#837E7A