#AF7942#AF7942
#AF7942 is a mid, moderate orange. Relative luminance 0.232; OKLCH L 62.0% C 0.098 H 64.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7942 |
|---|---|
| RGB | rgb(175, 121, 66) |
| HSL | hsl(30, 45%, 47%) |
| HSV | hsv(30, 62%, 69%) |
| CMYK | cmyk(0%, 30.9%, 62.3%, 31.4%) |
| CIE-LAB | lab(55.26, 15.33, 38.11) |
| CIE-LCH | lch(55.26, 41.08, 68.09°) |
| OKLab | oklab(62% 0.042 0.0889) |
| OKLCH | oklch(62% 0.098 64.7) |
| XYZ | xyz(25.5016, 23.1841, 8.2851) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.53
Tan Brown
#AB7E4C
ΔE00 2.63
Light Brown
#AD8150
ΔE00 3.39
Copper
#B87333
ΔE00 3.67
Clay Brown
#B2713D
ΔE00 3.83
Puce
#A57E52
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7942 #4278AF
analogous
#AF4242 #AF7942 #AFAF42
triadic
#AF7942 #42AF79 #7942AF
tetradic
#AF7942 #42AF42 #4278AF #AF42AF
square
#AF7942 #42AF42 #4278AF #AF42AF
split-complementary
#AF7942 #42AFAF #4242AF
monochromatic
#563C20 #835A31 #AF7942 #C69868 #D7B695
Accessibility & contrast
On white
3.73
#AF7942 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#AF7942 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7942
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7942 | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7D3D
Deuteranopia (green-blind)
#978943
Tritanopia (blue-blind)
#BE6D6C
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #af7942; /* rgb */ color: rgb(175, 121, 66); /* oklch */ color: oklch(62.0% 0.098 64.7);
Tailwind
colors: {
custom: {
50: '#ca9f78',
500: '#af7942',
950: '#000000',
},
}SCSS
$custom: #af7942; $custom-light: #ca9f78; $custom-dark: #000000;
JSON
{
"hex": "#af7942",
"rgb": {
"r": 175,
"g": 121,
"b": 66
},
"hsl": {
"h": 30.275,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.61999,
"c": 0.09834,
"h": 64.7
},
"luminance": 0.23182
}Semantic roles & 50–950 ramp
primary
#AF7942
secondary
#8AA6C2
accent
#93D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B