#7F512F#7F512F
#7F512F is a mid, moderate orange. Relative luminance 0.106; OKLCH L 47.9% C 0.079 H 56.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F512F |
|---|---|
| RGB | rgb(127, 81, 47) |
| HSL | hsl(26, 46%, 34%) |
| HSV | hsv(26, 63%, 50%) |
| CMYK | cmyk(0%, 36.2%, 63%, 50.2%) |
| CIE-LAB | lab(38.90, 15.62, 27.67) |
| CIE-LCH | lch(38.90, 31.77, 60.55°) |
| OKLab | oklab(47.91% 0.0439 0.0651) |
| OKLCH | oklch(47.91% 0.079 56) |
| XYZ | xyz(12.2087, 10.6032, 4.0924) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Milk Chocolate
#7F4E1E
ΔE00 3.81
Cocoa
#875F42
ΔE00 5.05
Saddlebrown
#8B4513
ΔE00 6.41
Medium Brown
#7F5112
ΔE00 6.99
Sepia
#985E2B
ΔE00 7.32
Chocolate
#7B3F00
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F512F #2F5D7F
analogous
#7F2F35 #7F512F #7F792F
triadic
#7F512F #2F7F51 #512F7F
tetradic
#7F512F #357F2F #2F5D7F #792F7F
square
#7F512F #357F2F #2F5D7F #792F7F
split-complementary
#7F512F #2F7F79 #2F357F
monochromatic
#26180E #52351E #7F512F #AC6D40 #C58D63
Accessibility & contrast
On white
6.73
#7F512F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7F512F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F512F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F512F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F512F | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552C
Deuteranopia (green-blind)
#69602F
Tritanopia (blue-blind)
#8A4849
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f512f; /* rgb */ color: rgb(127, 81, 47); /* oklch */ color: oklch(47.9% 0.079 56.0);
Tailwind
colors: {
custom: {
50: '#a78268',
500: '#7f512f',
950: '#000000',
},
}SCSS
$custom: #7f512f; $custom-light: #a78268; $custom-dark: #000000;
JSON
{
"hex": "#7f512f",
"rgb": {
"r": 127,
"g": 81,
"b": 47
},
"hsl": {
"h": 25.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.47911,
"c": 0.0785,
"h": 56
},
"luminance": 0.10602
}Semantic roles & 50–950 ramp
primary
#7F512F
secondary
#5E8BAC
accent
#9ED652
background
#FAF7F6
surface
#F4EEEB
border
#CEC9C6
text
#100A06
muted
#7F7C7A