#AF9142#AF9142
#AF9142 is a light, moderate orange. Relative luminance 0.298; OKLCH L 66.8% C 0.104 H 88.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF9142 |
|---|---|
| RGB | rgb(175, 145, 66) |
| HSL | hsl(43, 45%, 47%) |
| HSV | hsv(43, 62%, 69%) |
| CMYK | cmyk(0%, 17.1%, 62.3%, 31.4%) |
| CIE-LAB | lab(61.45, 1.97, 45.19) |
| CIE-LCH | lch(61.45, 45.24, 87.50°) |
| OKLab | oklab(66.84% 0.0028 0.1042) |
| OKLCH | oklch(66.84% 0.104 88.5) |
| XYZ | xyz(28.7894, 29.7597, 9.3810) |
| Luminance | 0.2976 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Dark Sand
#A88F59
ΔE00 4.86
Yellowy Brown
#AE8B0C
ΔE00 5.29
Dark Tan
#AF884A
ΔE00 5.43
Baby Shit Brown
#AD900D
ΔE00 5.54
Dark Gold
#B59410
ΔE00 5.66
Dark Mustard
#A88905
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF9142 #4260AF
analogous
#AF5A42 #AF9142 #97AF42
triadic
#AF9142 #42AF91 #9142AF
tetradic
#AF9142 #42AF5A #4260AF #AF4297
square
#AF9142 #42AF5A #4260AF #AF4297
split-complementary
#AF9142 #4297AF #5A42AF
monochromatic
#564720 #836C31 #AF9142 #C6AC68 #D7C595
Accessibility & contrast
On white
3.02
#AF9142 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#AF9142 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF9142
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF9142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF9142 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0903A
Deuteranopia (green-blind)
#A79845
Tritanopia (blue-blind)
#BD8680
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #af9142; /* rgb */ color: rgb(175, 145, 66); /* oklch */ color: oklch(66.8% 0.104 88.5);
Tailwind
colors: {
custom: {
50: '#cab179',
500: '#af9142',
950: '#000000',
},
}SCSS
$custom: #af9142; $custom-light: #cab179; $custom-dark: #000000;
JSON
{
"hex": "#af9142",
"rgb": {
"r": 175,
"g": 145,
"b": 66
},
"hsl": {
"h": 43.486,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.66842,
"c": 0.10423,
"h": 88.5
},
"luminance": 0.29758
}Semantic roles & 50–950 ramp
primary
#AF9142
secondary
#8A9AC2
accent
#77D553
background
#FCFAF7
surface
#F9F4EE
border
#D2CEC9
text
#141009
muted
#827F7B