#AF842E#AF842E
#AF842E is a light, moderate orange. Relative luminance 0.258; OKLCH L 64.0% C 0.113 H 81.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #AF842E |
|---|---|
| RGB | rgb(175, 132, 46) |
| HSL | hsl(40, 58%, 43%) |
| HSV | hsv(40, 74%, 69%) |
| CMYK | cmyk(0%, 24.6%, 73.7%, 31.4%) |
| CIE-LAB | lab(57.86, 7.97, 50.51) |
| CIE-LCH | lch(57.86, 51.13, 81.04°) |
| OKLab | oklab(63.97% 0.0176 0.1121) |
| OKLCH | oklch(63.97% 0.113 81.1) |
| XYZ | xyz(26.4253, 25.8157, 6.1754) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard Brown
#AC7E04
ΔE00 3.52
Darkgoldenrod
#B8860B
ΔE00 3.67
Dark Tan
#AF884A
ΔE00 4.24
Bronze (survey)
#A87900
ΔE00 4.52
Golden Brown
#B27A01
ΔE00 4.64
Yellowy Brown
#AE8B0C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF842E #2E59AF
analogous
#AF432E #AF842E #99AF2E
triadic
#AF842E #2EAF84 #842EAF
tetradic
#AF842E #2EAF43 #2E59AF #AF2E99
square
#AF842E #2EAF43 #2E59AF #AF2E99
split-complementary
#AF842E #2E99AF #432EAF
monochromatic
#4E3B15 #7F5F21 #AF842E #D0A34B #DCBC7B
Accessibility & contrast
On white
3.41
#AF842E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#AF842E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF842E
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF842E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF842E | 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)
#958522
Deuteranopia (green-blind)
#A08F32
Tritanopia (blue-blind)
#BE7773
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af842e; /* rgb */ color: rgb(175, 132, 46); /* oklch */ color: oklch(64.0% 0.113 81.1);
Tailwind
colors: {
custom: {
50: '#cba76c',
500: '#af842e',
950: '#000000',
},
}SCSS
$custom: #af842e; $custom-light: #cba76c; $custom-dark: #000000;
JSON
{
"hex": "#af842e",
"rgb": {
"r": 175,
"g": 132,
"b": 46
},
"hsl": {
"h": 40,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.63968,
"c": 0.11346,
"h": 81.1
},
"luminance": 0.25814
}Semantic roles & 50–950 ramp
primary
#AF842E
secondary
#748FC5
accent
#7AE246
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A