#AF7F2B#AF7F2B
#AF7F2B is a light, moderate orange. Relative luminance 0.245; OKLCH L 62.9% C 0.114 H 77.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7F2B |
|---|---|
| RGB | rgb(175, 127, 43) |
| HSL | hsl(38, 61%, 43%) |
| HSV | hsv(38, 75%, 69%) |
| CMYK | cmyk(0%, 27.4%, 75.4%, 31.4%) |
| CIE-LAB | lab(56.55, 10.61, 50.48) |
| CIE-LCH | lch(56.55, 51.58, 78.13°) |
| OKLab | oklab(62.94% 0.0249 0.1114) |
| OKLCH | oklch(62.94% 0.114 77.4) |
| XYZ | xyz(25.7064, 24.4692, 5.6542) |
| Luminance | 0.2447 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Golden Brown
#B27A01
ΔE00 3.37
Mustard Brown
#AC7E04
ΔE00 3.75
Bronze (survey)
#A87900
ΔE00 3.98
Darkgoldenrod
#B8860B
ΔE00 4.55
Dark Tan
#AF884A
ΔE00 4.70
Coffee
#A6814C
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7F2B #2B5BAF
analogous
#AF3D2B #AF7F2B #9DAF2B
triadic
#AF7F2B #2BAF7F #7F2BAF
tetradic
#AF7F2B #2BAF3D #2B5BAF #AF2B9D
square
#AF7F2B #2BAF3D #2B5BAF #AF2B9D
split-complementary
#AF7F2B #2B9DAF #3D2BAF
monochromatic
#4D3813 #7E5B1F #AF7F2B #D19F46 #DEB877
Accessibility & contrast
On white
3.56
#AF7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#AF7F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7F2B
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7F2B | 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)
#91811F
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#BE726E
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af7f2b; /* rgb */ color: rgb(175, 127, 43); /* oklch */ color: oklch(62.9% 0.114 77.4);
Tailwind
colors: {
custom: {
50: '#cba36a',
500: '#af7f2b',
950: '#000000',
},
}SCSS
$custom: #af7f2b; $custom-light: #cba36a; $custom-dark: #000000;
JSON
{
"hex": "#af7f2b",
"rgb": {
"r": 175,
"g": 127,
"b": 43
},
"hsl": {
"h": 38.182,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.62937,
"c": 0.11415,
"h": 77.4
},
"luminance": 0.24467
}Semantic roles & 50–950 ramp
primary
#AF7F2B
secondary
#708FC5
accent
#7EE444
background
#FDFAF6
surface
#FAF3EB
border
#D3CDC6
text
#140F07
muted
#837F7A