#AF8738#AF8738
#AF8738 is a light, moderate orange. Relative luminance 0.267; OKLCH L 64.7% C 0.108 H 81.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8738 |
|---|---|
| RGB | rgb(175, 135, 56) |
| HSL | hsl(40, 52%, 45%) |
| HSV | hsv(40, 68%, 69%) |
| CMYK | cmyk(0%, 22.9%, 68%, 31.4%) |
| CIE-LAB | lab(58.72, 6.84, 46.94) |
| CIE-LCH | lch(58.72, 47.44, 81.71°) |
| OKLab | oklab(64.67% 0.0156 0.1064) |
| OKLCH | oklch(64.67% 0.108 81.7) |
| XYZ | xyz(27.0586, 26.7293, 7.4747) |
| Luminance | 0.2673 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 3.18
Darkgoldenrod
#B8860B
ΔE00 4.64
Mustard Brown
#AC7E04
ΔE00 4.86
Coffee
#A6814C
ΔE00 5.44
Yellowy Brown
#AE8B0C
ΔE00 5.75
Bronze (survey)
#A87900
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8738 #3860AF
analogous
#AF4C38 #AF8738 #9BAF38
triadic
#AF8738 #38AF87 #8738AF
tetradic
#AF8738 #38AF4C #3860AF #AF389B
square
#AF8738 #38AF4C #3860AF #AF389B
split-complementary
#AF8738 #389BAF #4C38AF
monochromatic
#523F1A #816329 #AF8738 #CAA45A #D9BE88
Accessibility & contrast
On white
3.31
#AF8738 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#AF8738 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8738
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8738 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8738 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98872F
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#BE7B76
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #af8738; /* rgb */ color: rgb(175, 135, 56); /* oklch */ color: oklch(64.7% 0.108 81.7);
Tailwind
colors: {
custom: {
50: '#cba972',
500: '#af8738',
950: '#000000',
},
}SCSS
$custom: #af8738; $custom-light: #cba972; $custom-dark: #000000;
JSON
{
"hex": "#af8738",
"rgb": {
"r": 175,
"g": 135,
"b": 56
},
"hsl": {
"h": 39.832,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.6467,
"c": 0.10753,
"h": 81.7
},
"luminance": 0.26727
}Semantic roles & 50–950 ramp
primary
#AF8738
secondary
#8096C3
accent
#7DDB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#140F08
muted
#827F7B