#AF5228#AF5228
#AF5228 is a mid, vivid orange. Relative luminance 0.153; OKLCH L 54.8% C 0.134 H 43.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5228 |
|---|---|
| RGB | rgb(175, 82, 40) |
| HSL | hsl(19, 63%, 42%) |
| HSV | hsv(19, 77%, 69%) |
| CMYK | cmyk(0%, 53.1%, 77.1%, 31.4%) |
| CIE-LAB | lab(46.05, 35.21, 41.33) |
| CIE-LCH | lch(46.05, 54.30, 49.57°) |
| OKLab | oklab(54.81% 0.0976 0.0911) |
| OKLCH | oklch(54.81% 0.134 43) |
| XYZ | xyz(21.0816, 15.3044, 3.8510) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sienna
#A0522D
ΔE00 3.33
Burnt Sienna
#B04E0F
ΔE00 3.91
Sienna (survey)
#A9561E
ΔE00 4.27
Rust
#B7410E
ΔE00 4.34
Brick Orange
#C14A09
ΔE00 4.75
Cinnamon
#AC4F06
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5228 #2885AF
analogous
#AF2841 #AF5228 #AF9628
triadic
#AF5228 #28AF52 #5228AF
tetradic
#AF5228 #41AF28 #2885AF #9628AF
square
#AF5228 #41AF28 #2885AF #9628AF
split-complementary
#AF5228 #28AF96 #2841AF
monochromatic
#4B2311 #7D3B1D #AF5228 #D46E41 #DF9473
Accessibility & contrast
On white
5.17
#AF5228 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AF5228 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5228
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5228 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6023
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#C03E49
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af5228; /* rgb */ color: rgb(175, 82, 40); /* oklch */ color: oklch(54.8% 0.134 43.0);
Tailwind
colors: {
custom: {
50: '#ce8564',
500: '#af5228',
950: '#000000',
},
}SCSS
$custom: #af5228; $custom-light: #ce8564; $custom-dark: #000000;
JSON
{
"hex": "#af5228",
"rgb": {
"r": 175,
"g": 82,
"b": 40
},
"hsl": {
"h": 18.667,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.54811,
"c": 0.13355,
"h": 43
},
"luminance": 0.15302
}Semantic roles & 50–950 ramp
primary
#AF5228
secondary
#6DAAC6
accent
#B3E642
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A