#AF8342#AF8342
#AF8342 is a light, moderate orange. Relative luminance 0.257; OKLCH L 64.0% C 0.099 H 75.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8342 |
|---|---|
| RGB | rgb(175, 131, 66) |
| HSL | hsl(36, 45%, 47%) |
| HSV | hsv(36, 62%, 69%) |
| CMYK | cmyk(0%, 25.1%, 62.3%, 31.4%) |
| CIE-LAB | lab(57.79, 9.73, 41.05) |
| CIE-LCH | lch(57.79, 42.18, 76.67°) |
| OKLab | oklab(63.97% 0.0254 0.0953) |
| OKLCH | oklch(63.97% 0.099 75.1) |
| XYZ | xyz(26.7804, 25.7418, 8.7114) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 2.00
Coffee
#A6814C
ΔE00 2.99
Light Brown
#AD8150
ΔE00 3.82
Tan Brown
#AB7E4C
ΔE00 3.96
Puce
#A57E52
ΔE00 5.10
Leather
#AC7434
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8342 #426EAF
analogous
#AF4D42 #AF8342 #A4AF42
triadic
#AF8342 #42AF83 #8342AF
tetradic
#AF8342 #42AF4D #426EAF #AF42A4
square
#AF8342 #42AF4D #426EAF #AF42A4
split-complementary
#AF8342 #42A4AF #4D42AF
monochromatic
#564020 #836231 #AF8342 #C6A068 #D7BC95
Accessibility & contrast
On white
3.42
#AF8342 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#AF8342 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8342
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8342 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93853C
Deuteranopia (green-blind)
#9E8F44
Tritanopia (blue-blind)
#BD7774
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #af8342; /* rgb */ color: rgb(175, 131, 66); /* oklch */ color: oklch(64.0% 0.099 75.1);
Tailwind
colors: {
custom: {
50: '#caa678',
500: '#af8342',
950: '#000000',
},
}SCSS
$custom: #af8342; $custom-light: #caa678; $custom-dark: #000000;
JSON
{
"hex": "#af8342",
"rgb": {
"r": 175,
"g": 131,
"b": 66
},
"hsl": {
"h": 35.78,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.63972,
"c": 0.0986,
"h": 75.1
},
"luminance": 0.2574
}Semantic roles & 50–950 ramp
primary
#AF8342
secondary
#8AA1C2
accent
#87D553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F09
muted
#827F7B