#AF842F#AF842F
#AF842F is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.0% C 0.113 H 80.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF842F |
|---|---|
| RGB | rgb(175, 132, 47) |
| HSL | hsl(40, 58%, 44%) |
| HSV | hsv(40, 73%, 69%) |
| CMYK | cmyk(0%, 24.6%, 73.1%, 31.4%) |
| CIE-LAB | lab(57.87, 8.01, 50.09) |
| CIE-LCH | lch(57.87, 50.72, 80.91°) |
| OKLab | oklab(63.98% 0.0178 0.1114) |
| OKLCH | oklch(63.98% 0.113 80.9) |
| XYZ | xyz(26.4452, 25.8237, 6.2804) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.64
Darkgoldenrod
#B8860B
ΔE00 3.78
Dark Tan
#AF884A
ΔE00 4.11
Bronze (survey)
#A87900
ΔE00 4.60
Golden Brown
#B27A01
ΔE00 4.69
Yellowy Brown
#AE8B0C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF842F #2F5AAF
analogous
#AF442F #AF842F #9AAF2F
triadic
#AF842F #2FAF84 #842FAF
tetradic
#AF842F #2FAF44 #2F5AAF #AF2F9A
square
#AF842F #2FAF44 #2F5AAF #AF2F9A
split-complementary
#AF842F #2F9AAF #442FAF
monochromatic
#4F3B15 #7F6022 #AF842F #CFA34C #DCBC7C
Accessibility & contrast
On white
3.41
#AF842F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#AF842F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF842F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF842F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF842F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958523
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af842f; /* rgb */ color: rgb(175, 132, 47); /* oklch */ color: oklch(64.0% 0.113 80.9);
Tailwind
colors: {
custom: {
50: '#cba76d',
500: '#af842f',
950: '#000000',
},
}SCSS
$custom: #af842f; $custom-light: #cba76d; $custom-dark: #000000;
JSON
{
"hex": "#af842f",
"rgb": {
"r": 175,
"g": 132,
"b": 47
},
"hsl": {
"h": 39.844,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.63976,
"c": 0.11282,
"h": 80.9
},
"luminance": 0.25822
}Semantic roles & 50–950 ramp
primary
#AF842F
secondary
#7590C4
accent
#7BE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A