#AF7F2A#AF7F2A
#AF7F2A is a light, moderate orange. Relative luminance 0.245; OKLCH L 62.9% C 0.115 H 77.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F2A |
|---|---|
| RGB | rgb(175, 127, 42) |
| HSL | hsl(38, 61%, 43%) |
| HSV | hsv(38, 76%, 69%) |
| CMYK | cmyk(0%, 27.4%, 76%, 31.4%) |
| CIE-LAB | lab(56.55, 10.57, 50.89) |
| CIE-LCH | lch(56.55, 51.97, 78.27°) |
| OKLab | oklab(62.93% 0.0246 0.1121) |
| OKLCH | oklch(62.93% 0.115 77.6) |
| XYZ | xyz(25.6883, 24.4619, 5.5587) |
| Luminance | 0.2446 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.27
Mustard Brown
#AC7E04
ΔE00 3.61
Bronze (survey)
#A87900
ΔE00 3.85
Darkgoldenrod
#B8860B
ΔE00 4.43
Dark Tan
#AF884A
ΔE00 4.80
Coffee
#A6814C
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F2A #2A5AAF
analogous
#AF3D2A #AF7F2A #9CAF2A
triadic
#AF7F2A #2AAF7F #7F2AAF
tetradic
#AF7F2A #2AAF3D #2A5AAF #AF2A9C
square
#AF7F2A #2AAF3D #2A5AAF #AF2A9C
split-complementary
#AF7F2A #2A9CAF #3D2AAF
monochromatic
#4C3712 #7E5B1E #AF7F2A #D29F44 #DEB875
Accessibility & contrast
On white
3.56
#AF7F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#AF7F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F2A
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F2A | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 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)
#91811D
Deuteranopia (green-blind)
#9D8C2D
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f2a; /* rgb */ color: rgb(175, 127, 42); /* oklch */ color: oklch(62.9% 0.115 77.6);
Tailwind
colors: {
custom: {
50: '#cba369',
500: '#af7f2a',
950: '#000000',
},
}SCSS
$custom: #af7f2a; $custom-light: #cba369; $custom-dark: #000000;
JSON
{
"hex": "#af7f2a",
"rgb": {
"r": 175,
"g": 127,
"b": 42
},
"hsl": {
"h": 38.346,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.62929,
"c": 0.11473,
"h": 77.6
},
"luminance": 0.2446
}Semantic roles & 50–950 ramp
primary
#AF7F2A
secondary
#6F8EC6
accent
#7EE443
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A