#AF7F2D#AF7F2D
#AF7F2D is a light, moderate orange. Relative luminance 0.245; OKLCH L 63.0% C 0.113 H 77.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F2D |
|---|---|
| RGB | rgb(175, 127, 45) |
| HSL | hsl(38, 59%, 43%) |
| HSV | hsv(38, 74%, 69%) |
| CMYK | cmyk(0%, 27.4%, 74.3%, 31.4%) |
| CIE-LAB | lab(56.57, 10.71, 49.64) |
| CIE-LCH | lch(56.57, 50.78, 77.83°) |
| OKLab | oklab(62.95% 0.0254 0.1101) |
| OKLCH | oklch(62.95% 0.113 77) |
| XYZ | xyz(25.7440, 24.4842, 5.8522) |
| Luminance | 0.2448 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.58
Mustard Brown
#AC7E04
ΔE00 4.05
Bronze (survey)
#A87900
ΔE00 4.23
Dark Tan
#AF884A
ΔE00 4.51
Darkgoldenrod
#B8860B
ΔE00 4.80
Coffee
#A6814C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F2D #2D5DAF
analogous
#AF3E2D #AF7F2D #9EAF2D
triadic
#AF7F2D #2DAF7F #7F2DAF
tetradic
#AF7F2D #2DAF3E #2D5DAF #AF2D9E
square
#AF7F2D #2DAF3E #2D5DAF #AF2D9E
split-complementary
#AF7F2D #2D9EAF #3E2DAF
monochromatic
#4E3814 #7E5C20 #AF7F2D #D09E49 #DDB87A
Accessibility & contrast
On white
3.56
#AF7F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#AF7F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F2D
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F2D | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f2d; /* rgb */ color: rgb(175, 127, 45); /* oklch */ color: oklch(63.0% 0.113 77.0);
Tailwind
colors: {
custom: {
50: '#cba36b',
500: '#af7f2d',
950: '#000000',
},
}SCSS
$custom: #af7f2d; $custom-light: #cba36b; $custom-dark: #000000;
JSON
{
"hex": "#af7f2d",
"rgb": {
"r": 175,
"g": 127,
"b": 45
},
"hsl": {
"h": 37.846,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.62953,
"c": 0.11294,
"h": 77
},
"luminance": 0.24482
}Semantic roles & 50–950 ramp
primary
#AF7F2D
secondary
#7391C5
accent
#7FE246
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A