#AF7F38#AF7F38
#AF7F38 is a light, moderate orange. Relative luminance 0.246; OKLCH L 63.1% C 0.106 H 74.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F38 |
|---|---|
| RGB | rgb(175, 127, 56) |
| HSL | hsl(36, 52%, 45%) |
| HSV | hsv(36, 68%, 69%) |
| CMYK | cmyk(0%, 27.4%, 68%, 31.4%) |
| CIE-LAB | lab(56.66, 11.30, 44.72) |
| CIE-LCH | lch(56.66, 46.13, 75.82°) |
| OKLab | oklab(63.06% 0.0286 0.1017) |
| OKLCH | oklch(63.06% 0.106 74.3) |
| XYZ | xyz(25.9840, 24.5802, 7.1165) |
| Luminance | 0.2458 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 3.68
Coffee
#A6814C
ΔE00 4.08
Tan Brown
#AB7E4C
ΔE00 4.44
Leather
#AC7434
ΔE00 4.59
Light Brown
#AD8150
ΔE00 4.65
Golden Brown
#B27A01
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F38 #3868AF
analogous
#AF4338 #AF7F38 #A4AF38
triadic
#AF7F38 #38AF7F #7F38AF
tetradic
#AF7F38 #38AF43 #3868AF #AF38A4
square
#AF7F38 #38AF43 #3868AF #AF38A4
split-complementary
#AF7F38 #38A4AF #4338AF
monochromatic
#523C1A #815D29 #AF7F38 #CA9D5A #D9B888
Accessibility & contrast
On white
3.55
#AF7F38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.92
#AF7F38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F38
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F38 | 1.00 | 3.55 | 5.92 | 5.92 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908130
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#BE7270
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f38; /* rgb */ color: rgb(175, 127, 56); /* oklch */ color: oklch(63.1% 0.106 74.3);
Tailwind
colors: {
custom: {
50: '#cba472',
500: '#af7f38',
950: '#000000',
},
}SCSS
$custom: #af7f38; $custom-light: #cba472; $custom-dark: #000000;
JSON
{
"hex": "#af7f38",
"rgb": {
"r": 175,
"g": 127,
"b": 56
},
"hsl": {
"h": 35.798,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.63058,
"c": 0.10562,
"h": 74.3
},
"luminance": 0.24578
}Semantic roles & 50–950 ramp
primary
#AF7F38
secondary
#809BC3
accent
#86DB4D
background
#FDFAF7
surface
#FAF3ED
border
#D3CDC8
text
#140F08
muted
#837F7B