#AF8E2F#AF8E2F
#AF8E2F is a light, moderate orange. Relative luminance 0.287; OKLCH L 66.0% C 0.117 H 89.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8E2F |
|---|---|
| RGB | rgb(175, 142, 47) |
| HSL | hsl(45, 58%, 44%) |
| HSV | hsv(45, 73%, 69%) |
| CMYK | cmyk(0%, 18.9%, 73.1%, 31.4%) |
| CIE-LAB | lab(60.49, 2.48, 52.70) |
| CIE-LCH | lch(60.49, 52.76, 87.30°) |
| OKLab | oklab(66.03% 0.0018 0.117) |
| OKLCH | oklch(66.03% 0.117 89.1) |
| XYZ | xyz(27.8669, 28.6670, 6.7543) |
| Luminance | 0.2867 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.82
Dark Mustard
#A88905
ΔE00 3.53
Baby Shit Brown
#AD900D
ΔE00 3.55
Dark Gold
#B59410
ΔE00 3.83
Baby Poo
#AB9004
ΔE00 4.16
Yellow Brown
#B79400
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8E2F #2F50AF
analogous
#AF4E2F #AF8E2F #90AF2F
triadic
#AF8E2F #2FAF8E #8E2FAF
tetradic
#AF8E2F #2FAF4E #2F50AF #AF2F90
square
#AF8E2F #2FAF4E #2F50AF #AF2F90
split-complementary
#AF8E2F #2F90AF #4E2FAF
monochromatic
#4F4015 #7F6722 #AF8E2F #CFAD4C #DCC37C
Accessibility & contrast
On white
3.12
#AF8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#AF8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8E2F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8E2F | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8D21
Deuteranopia (green-blind)
#A69634
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af8e2f; /* rgb */ color: rgb(175, 142, 47); /* oklch */ color: oklch(66.0% 0.117 89.1);
Tailwind
colors: {
custom: {
50: '#cbae6e',
500: '#af8e2f',
950: '#000000',
},
}SCSS
$custom: #af8e2f; $custom-light: #cbae6e; $custom-dark: #000000;
JSON
{
"hex": "#af8e2f",
"rgb": {
"r": 175,
"g": 142,
"b": 47
},
"hsl": {
"h": 44.531,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.66033,
"c": 0.11696,
"h": 89.1
},
"luminance": 0.28665
}Semantic roles & 50–950 ramp
primary
#AF8E2F
secondary
#758AC4
accent
#6FE147
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A