#AF8838#AF8838
#AF8838 is a light, moderate orange. Relative luminance 0.270; OKLCH L 64.9% C 0.108 H 82.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8838 |
|---|---|
| RGB | rgb(175, 136, 56) |
| HSL | hsl(40, 52%, 45%) |
| HSV | hsv(40, 68%, 69%) |
| CMYK | cmyk(0%, 22.3%, 68%, 31.4%) |
| CIE-LAB | lab(58.98, 6.28, 47.22) |
| CIE-LCH | lch(58.98, 47.64, 82.42°) |
| OKLab | oklab(64.87% 0.014 0.107) |
| OKLCH | oklch(64.87% 0.108 82.6) |
| XYZ | xyz(27.1987, 27.0097, 7.5214) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Tan
#AF884A
ΔE00 3.42
Darkgoldenrod
#B8860B
ΔE00 4.62
Mustard Brown
#AC7E04
ΔE00 4.96
Yellowy Brown
#AE8B0C
ΔE00 5.39
Coffee
#A6814C
ΔE00 5.75
Dark Sand
#A88F59
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8838 #385FAF
analogous
#AF4C38 #AF8838 #9AAF38
triadic
#AF8838 #38AF88 #8838AF
tetradic
#AF8838 #38AF4C #385FAF #AF389A
square
#AF8838 #38AF4C #385FAF #AF389A
split-complementary
#AF8838 #389AAF #4C38AF
monochromatic
#52401A #816429 #AF8838 #CAA55A #D9BF88
Accessibility & contrast
On white
3.28
#AF8838 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#AF8838 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8838
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8838 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8838 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#99882F
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#BE7C77
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #af8838; /* rgb */ color: rgb(175, 136, 56); /* oklch */ color: oklch(64.9% 0.108 82.6);
Tailwind
colors: {
custom: {
50: '#cbaa72',
500: '#af8838',
950: '#000000',
},
}SCSS
$custom: #af8838; $custom-light: #cbaa72; $custom-dark: #000000;
JSON
{
"hex": "#af8838",
"rgb": {
"r": 175,
"g": 136,
"b": 56
},
"hsl": {
"h": 40.336,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.64874,
"c": 0.10789,
"h": 82.6
},
"luminance": 0.27008
}Semantic roles & 50–950 ramp
primary
#AF8838
secondary
#8096C3
accent
#7BDB4D
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#141008
muted
#827F7B