#AF8E2C#AF8E2C
#AF8E2C is a light, moderate orange. Relative luminance 0.286; OKLCH L 66.0% C 0.119 H 89.5°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8E2C |
|---|---|
| RGB | rgb(175, 142, 44) |
| HSL | hsl(45, 60%, 43%) |
| HSV | hsv(45, 75%, 69%) |
| CMYK | cmyk(0%, 18.9%, 74.9%, 31.4%) |
| CIE-LAB | lab(60.47, 2.34, 53.89) |
| CIE-LCH | lch(60.47, 53.94, 87.52°) |
| OKLab | oklab(66.01% 0.0011 0.1189) |
| OKLCH | oklch(66.01% 0.119 89.5) |
| XYZ | xyz(27.8084, 28.6436, 6.4465) |
| Luminance | 0.2864 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 2.48
Baby Shit Brown
#AD900D
ΔE00 3.20
Dark Mustard
#A88905
ΔE00 3.22
Dark Gold
#B59410
ΔE00 3.51
Baby Poo
#AB9004
ΔE00 3.83
Yellow Brown
#B79400
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8E2C #2C4DAF
analogous
#AF4C2C #AF8E2C #8FAF2C
triadic
#AF8E2C #2CAF8E #8E2CAF
tetradic
#AF8E2C #2CAF4C #2C4DAF #AF2C8F
square
#AF8E2C #2CAF4C #2C4DAF #AF2C8F
split-complementary
#AF8E2C #2C8FAF #4C2CAF
monochromatic
#4D3F13 #7E6620 #AF8E2C #D1AE47 #DDC478
Accessibility & contrast
On white
3.12
#AF8E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#AF8E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF8E2C
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8E2C | 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)
#9F8C1C
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#BE827B
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af8e2c; /* rgb */ color: rgb(175, 142, 44); /* oklch */ color: oklch(66.0% 0.119 89.5);
Tailwind
colors: {
custom: {
50: '#cbae6c',
500: '#af8e2c',
950: '#000000',
},
}SCSS
$custom: #af8e2c; $custom-light: #cbae6c; $custom-dark: #000000;
JSON
{
"hex": "#af8e2c",
"rgb": {
"r": 175,
"g": 142,
"b": 44
},
"hsl": {
"h": 44.885,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.6601,
"c": 0.11887,
"h": 89.5
},
"luminance": 0.28642
}Semantic roles & 50–950 ramp
primary
#AF8E2C
secondary
#7287C5
accent
#6DE345
background
#FDFAF6
surface
#FAF4EC
border
#D3CEC7
text
#141007
muted
#837F7A