#AF8F31#AF8F31
#AF8F31 is a light, moderate orange. Relative luminance 0.290; OKLCH L 66.3% C 0.116 H 89.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8F31 |
|---|---|
| RGB | rgb(175, 143, 49) |
| HSL | hsl(45, 56%, 44%) |
| HSV | hsv(45, 72%, 69%) |
| CMYK | cmyk(0%, 18.3%, 72%, 31.4%) |
| CIE-LAB | lab(60.77, 2.03, 52.15) |
| CIE-LCH | lch(60.77, 52.19, 87.77°) |
| OKLab | oklab(66.26% 0.0008 0.1162) |
| OKLCH | oklch(66.26% 0.116 89.6) |
| XYZ | xyz(28.0576, 28.9824, 7.0215) |
| Luminance | 0.2898 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 3.06
Baby Shit Brown
#AD900D
ΔE00 3.51
Dark Mustard
#A88905
ΔE00 3.70
Dark Gold
#B59410
ΔE00 3.78
Baby Poo
#AB9004
ΔE00 4.10
Yellow Brown
#B79400
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8F31 #3151AF
analogous
#AF5031 #AF8F31 #90AF31
triadic
#AF8F31 #31AF8F #8F31AF
tetradic
#AF8F31 #31AF50 #3151AF #AF3190
square
#AF8F31 #31AF50 #3151AF #AF3190
split-complementary
#AF8F31 #3190AF #5031AF
monochromatic
#4F4116 #7F6824 #AF8F31 #CEAE4F #DBC47F
Accessibility & contrast
On white
3.09
#AF8F31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#AF8F31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8F31
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8F31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8F31 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D24
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#BD837C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #af8f31; /* rgb */ color: rgb(175, 143, 49); /* oklch */ color: oklch(66.3% 0.116 89.6);
Tailwind
colors: {
custom: {
50: '#cbaf6f',
500: '#af8f31',
950: '#000000',
},
}SCSS
$custom: #af8f31; $custom-light: #cbaf6f; $custom-dark: #000000;
JSON
{
"hex": "#af8f31",
"rgb": {
"r": 175,
"g": 143,
"b": 49
},
"hsl": {
"h": 44.762,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.66258,
"c": 0.11618,
"h": 89.6
},
"luminance": 0.28981
}Semantic roles & 50–950 ramp
primary
#AF8F31
secondary
#788BC4
accent
#6FE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141008
muted
#827F7B