#AF802F#AF802F
#AF802F is a light, moderate orange. Relative luminance 0.248; OKLCH L 63.2% C 0.112 H 77.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF802F |
|---|---|
| RGB | rgb(175, 128, 47) |
| HSL | hsl(38, 58%, 44%) |
| HSV | hsv(38, 73%, 69%) |
| CMYK | cmyk(0%, 26.9%, 73.1%, 31.4%) |
| CIE-LAB | lab(56.84, 10.25, 49.05) |
| CIE-LCH | lch(56.84, 50.11, 78.20°) |
| OKLab | oklab(63.17% 0.0243 0.1092) |
| OKLCH | oklch(63.17% 0.112 77.4) |
| XYZ | xyz(25.9132, 24.7596, 6.1030) |
| Luminance | 0.2476 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.88
Mustard Brown
#AC7E04
ΔE00 4.11
Dark Tan
#AF884A
ΔE00 4.18
Bronze (survey)
#A87900
ΔE00 4.41
Darkgoldenrod
#B8860B
ΔE00 4.73
Coffee
#A6814C
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF802F #2F5EAF
analogous
#AF402F #AF802F #9EAF2F
triadic
#AF802F #2FAF80 #802FAF
tetradic
#AF802F #2FAF40 #2F5EAF #AF2F9E
square
#AF802F #2FAF40 #2F5EAF #AF2F9E
split-complementary
#AF802F #2F9EAF #402FAF
monochromatic
#4F3915 #7F5D22 #AF802F #CF9F4C #DCB97C
Accessibility & contrast
On white
3.53
#AF802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#AF802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF802F
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF802F | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#BE736F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af802f; /* rgb */ color: rgb(175, 128, 47); /* oklch */ color: oklch(63.2% 0.112 77.4);
Tailwind
colors: {
custom: {
50: '#cba46c',
500: '#af802f',
950: '#000000',
},
}SCSS
$custom: #af802f; $custom-light: #cba46c; $custom-dark: #000000;
JSON
{
"hex": "#af802f",
"rgb": {
"r": 175,
"g": 128,
"b": 47
},
"hsl": {
"h": 37.969,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.6317,
"c": 0.11187,
"h": 77.4
},
"luminance": 0.24758
}Semantic roles & 50–950 ramp
primary
#AF802F
secondary
#7592C4
accent
#7FE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#140F07
muted
#837F7A