#AF7F27#AF7F27
#AF7F27 is a light, moderate orange. Relative luminance 0.244; OKLCH L 62.9% C 0.116 H 78.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F27 |
|---|---|
| RGB | rgb(175, 127, 39) |
| HSL | hsl(39, 64%, 42%) |
| HSV | hsv(39, 78%, 69%) |
| CMYK | cmyk(0%, 27.4%, 77.7%, 31.4%) |
| CIE-LAB | lab(56.53, 10.44, 52.08) |
| CIE-LCH | lch(56.53, 53.12, 78.67°) |
| OKLab | oklab(62.91% 0.0239 0.114) |
| OKLCH | oklch(62.91% 0.116 78.2) |
| XYZ | xyz(25.6366, 24.4412, 5.2865) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.01
Mustard Brown
#AC7E04
ΔE00 3.19
Bronze (survey)
#A87900
ΔE00 3.52
Darkgoldenrod
#B8860B
ΔE00 4.10
Dark Tan
#AF884A
ΔE00 5.09
Coffee
#A6814C
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F27 #2757AF
analogous
#AF3B27 #AF7F27 #9BAF27
triadic
#AF7F27 #27AF7F #7F27AF
tetradic
#AF7F27 #27AF3B #2757AF #AF279B
square
#AF7F27 #27AF3B #2757AF #AF279B
split-complementary
#AF7F27 #279BAF #3B27AF
monochromatic
#4B3611 #7D5B1C #AF7F27 #D4A03F #DFB871
Accessibility & contrast
On white
3.57
#AF7F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#AF7F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F27
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F27 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918119
Deuteranopia (green-blind)
#9D8C2B
Tritanopia (blue-blind)
#BF726E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f27; /* rgb */ color: rgb(175, 127, 39); /* oklch */ color: oklch(62.9% 0.116 78.2);
Tailwind
colors: {
custom: {
50: '#cca368',
500: '#af7f27',
950: '#000000',
},
}SCSS
$custom: #af7f27; $custom-light: #cca368; $custom-dark: #000000;
JSON
{
"hex": "#af7f27",
"rgb": {
"r": 175,
"g": 127,
"b": 39
},
"hsl": {
"h": 38.824,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.62906,
"c": 0.11642,
"h": 78.2
},
"luminance": 0.24439
}Semantic roles & 50–950 ramp
primary
#AF7F27
secondary
#6B8CC6
accent
#7CE741
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A