#51270F#51270F
#51270F is a dark, moderate orange. Relative luminance 0.032; OKLCH L 32.5% C 0.072 H 47.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #51270F |
|---|---|
| RGB | rgb(81, 39, 15) |
| HSL | hsl(22, 69%, 19%) |
| HSV | hsv(22, 81%, 32%) |
| CMYK | cmyk(0%, 51.9%, 81.5%, 68.2%) |
| CIE-LAB | lab(20.96, 17.52, 23.91) |
| CIE-LCH | lch(20.96, 29.65, 53.77°) |
| OKLab | oklab(32.52% 0.0482 0.0534) |
| OKLCH | oklch(32.52% 0.072 47.9) |
| XYZ | xyz(4.2055, 3.2353, 0.8549) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Chocolate Brown
#411900
ΔE00 4.55
Chocolate (survey)
#3D1C02
ΔE00 4.90
Dark Brown
#341C02
ΔE00 7.90
Chestnut
#742802
ΔE00 8.74
Brown (survey)
#653700
ΔE00 9.14
Espresso
#4B382A
ΔE00 9.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51270F #0F3951
analogous
#510F18 #51270F #51480F
triadic
#51270F #0F5127 #270F51
tetradic
#51270F #18510F #0F3951 #480F51
square
#51270F #18510F #0F3951 #480F51
split-complementary
#51270F #0F5148 #0F1851
monochromatic
#1A0C05 #1D0E05 #51270F #854019 #B85922
Accessibility & contrast
On white
12.75
#51270F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#51270F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51270F
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51270F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51270F | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332D0C
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#591E22
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #51270f; /* rgb */ color: rgb(81, 39, 15); /* oklch */ color: oklch(32.5% 0.072 47.9);
Tailwind
colors: {
custom: {
50: '#86624e',
500: '#51270f',
950: '#000000',
},
}SCSS
$custom: #51270f; $custom-light: #86624e; $custom-dark: #000000;
JSON
{
"hex": "#51270f",
"rgb": {
"r": 81,
"g": 39,
"b": 15
},
"hsl": {
"h": 21.818,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.32518,
"c": 0.07193,
"h": 47.9
},
"luminance": 0.03235
}Semantic roles & 50–950 ramp
primary
#51270F
secondary
#316A8B
accent
#ACEC3C
background
#F8F5F4
surface
#F0EAE7
border
#CBC6C3
text
#0C0502
muted
#7D7978