#AF7E26#AF7E26
#AF7E26 is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.7% C 0.117 H 77.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7E26 |
|---|---|
| RGB | rgb(175, 126, 38) |
| HSL | hsl(39, 64%, 42%) |
| HSV | hsv(39, 78%, 69%) |
| CMYK | cmyk(0%, 28%, 78.3%, 31.4%) |
| CIE-LAB | lab(56.27, 10.96, 52.23) |
| CIE-LCH | lch(56.27, 53.37, 78.15°) |
| OKLab | oklab(62.7% 0.0253 0.114) |
| OKLCH | oklch(62.7% 0.117 77.5) |
| XYZ | xyz(25.4917, 24.1777, 5.1575) |
| Luminance | 0.2418 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 2.79
Mustard Brown
#AC7E04
ΔE00 3.34
Bronze (survey)
#A87900
ΔE00 3.48
Darkgoldenrod
#B8860B
ΔE00 4.34
Dark Tan
#AF884A
ΔE00 5.29
Caramel (survey)
#AF6F09
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7E26 #2657AF
analogous
#AF3A26 #AF7E26 #9CAF26
triadic
#AF7E26 #26AF7E #7E26AF
tetradic
#AF7E26 #26AF3A #2657AF #AF269C
square
#AF7E26 #26AF3A #2657AF #AF269C
split-complementary
#AF7E26 #269CAF #3A26AF
monochromatic
#4A3610 #7D5A1B #AF7E26 #D59F3D #E0B870
Accessibility & contrast
On white
3.60
#AF7E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#AF7E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7E26
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7E26 | 1.00 | 3.60 | 5.84 | 5.84 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#9C8C2A
Tritanopia (blue-blind)
#BF706D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af7e26; /* rgb */ color: rgb(175, 126, 38); /* oklch */ color: oklch(62.7% 0.117 77.5);
Tailwind
colors: {
custom: {
50: '#cca367',
500: '#af7e26',
950: '#000000',
},
}SCSS
$custom: #af7e26; $custom-light: #cca367; $custom-dark: #000000;
JSON
{
"hex": "#af7e26",
"rgb": {
"r": 175,
"g": 126,
"b": 38
},
"hsl": {
"h": 38.54,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.627,
"c": 0.1168,
"h": 77.5
},
"luminance": 0.24176
}Semantic roles & 50–950 ramp
primary
#AF7E26
secondary
#6A8BC7
accent
#7CE740
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F06
muted
#837F7A