#AF7E2A#AF7E2A
#AF7E2A is a light, moderate orange. Relative luminance 0.242; OKLCH L 62.7% C 0.115 H 76.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7E2A |
|---|---|
| RGB | rgb(175, 126, 42) |
| HSL | hsl(38, 61%, 43%) |
| HSV | hsv(38, 76%, 69%) |
| CMYK | cmyk(0%, 28%, 76%, 31.4%) |
| CIE-LAB | lab(56.29, 11.13, 50.64) |
| CIE-LCH | lch(56.29, 51.85, 77.61°) |
| OKLab | oklab(62.73% 0.0262 0.1115) |
| OKLCH | oklch(62.73% 0.115 76.8) |
| XYZ | xyz(25.5597, 24.2049, 5.5159) |
| Luminance | 0.2420 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.19
Mustard Brown
#AC7E04
ΔE00 3.89
Bronze (survey)
#A87900
ΔE00 3.96
Darkgoldenrod
#B8860B
ΔE00 4.79
Dark Tan
#AF884A
ΔE00 4.93
Leather
#AC7434
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7E2A #2A5BAF
analogous
#AF3C2A #AF7E2A #9DAF2A
triadic
#AF7E2A #2AAF7E #7E2AAF
tetradic
#AF7E2A #2AAF3C #2A5BAF #AF2A9D
square
#AF7E2A #2AAF3C #2A5BAF #AF2A9D
split-complementary
#AF7E2A #2A9DAF #3C2AAF
monochromatic
#4C3712 #7E5A1E #AF7E2A #D29E44 #DEB775
Accessibility & contrast
On white
3.60
#AF7E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#AF7E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7E2A
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7E2A | 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)
#90801E
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#BF716D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af7e2a; /* rgb */ color: rgb(175, 126, 42); /* oklch */ color: oklch(62.7% 0.115 76.8);
Tailwind
colors: {
custom: {
50: '#cca369',
500: '#af7e2a',
950: '#000000',
},
}SCSS
$custom: #af7e2a; $custom-light: #cca369; $custom-dark: #000000;
JSON
{
"hex": "#af7e2a",
"rgb": {
"r": 175,
"g": 126,
"b": 42
},
"hsl": {
"h": 37.895,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.6273,
"c": 0.11457,
"h": 76.8
},
"luminance": 0.24203
}Semantic roles & 50–950 ramp
primary
#AF7E2A
secondary
#6F8FC6
accent
#7FE443
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A