#AF862F#AF862F
#AF862F is a light, moderate orange. Relative luminance 0.264; OKLCH L 64.4% C 0.113 H 82.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF862F |
|---|---|
| RGB | rgb(175, 134, 47) |
| HSL | hsl(41, 58%, 44%) |
| HSV | hsv(41, 73%, 69%) |
| CMYK | cmyk(0%, 23.4%, 73.1%, 31.4%) |
| CIE-LAB | lab(58.39, 6.90, 50.61) |
| CIE-LCH | lch(58.39, 51.08, 82.23°) |
| OKLab | oklab(64.38% 0.0146 0.1125) |
| OKLCH | oklch(64.38% 0.113 82.6) |
| XYZ | xyz(26.7191, 26.3713, 6.3717) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Darkgoldenrod
#B8860B
ΔE00 3.64
Mustard Brown
#AC7E04
ΔE00 3.79
Dark Tan
#AF884A
ΔE00 4.36
Yellowy Brown
#AE8B0C
ΔE00 4.83
Bronze (survey)
#A87900
ΔE00 5.00
Golden Brown
#B27A01
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF862F #2F58AF
analogous
#AF462F #AF862F #98AF2F
triadic
#AF862F #2FAF86 #862FAF
tetradic
#AF862F #2FAF46 #2F58AF #AF2F98
square
#AF862F #2FAF46 #2F58AF #AF2F98
split-complementary
#AF862F #2F98AF #462FAF
monochromatic
#4F3C15 #7F6122 #AF862F #CFA54C #DCBD7C
Accessibility & contrast
On white
3.35
#AF862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#AF862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF862F
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF862F | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978623
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#BE7974
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #af862f; /* rgb */ color: rgb(175, 134, 47); /* oklch */ color: oklch(64.4% 0.113 82.6);
Tailwind
colors: {
custom: {
50: '#cba96d',
500: '#af862f',
950: '#000000',
},
}SCSS
$custom: #af862f; $custom-light: #cba96d; $custom-dark: #000000;
JSON
{
"hex": "#af862f",
"rgb": {
"r": 175,
"g": 134,
"b": 47
},
"hsl": {
"h": 40.781,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.64383,
"c": 0.11345,
"h": 82.6
},
"luminance": 0.26369
}Semantic roles & 50–950 ramp
primary
#AF862F
secondary
#758FC4
accent
#78E147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A