#AB7938#AB7938
#AB7938 is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.4% C 0.103 H 70.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7938 |
|---|---|
| RGB | rgb(171, 121, 56) |
| HSL | hsl(34, 51%, 45%) |
| HSV | hsv(34, 67%, 67%) |
| CMYK | cmyk(0%, 29.2%, 67.3%, 32.9%) |
| CIE-LAB | lab(54.68, 12.90, 42.42) |
| CIE-LCH | lch(54.68, 44.33, 73.09°) |
| OKLab | oklab(61.41% 0.0336 0.0969) |
| OKLCH | oklch(61.41% 0.103 70.9) |
| XYZ | xyz(24.3474, 22.6202, 6.8244) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Leather
#AC7434
ΔE00 2.27
Tan Brown
#AB7E4C
ΔE00 3.54
Light Brown
#AD8150
ΔE00 4.26
Coffee
#A6814C
ΔE00 4.35
Puce
#A57E52
ΔE00 4.98
Caramel (survey)
#AF6F09
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7938 #386AAB
analogous
#AB3F38 #AB7938 #A4AB38
triadic
#AB7938 #38AB79 #7938AB
tetradic
#AB7938 #38AB3F #386AAB #AB38A4
square
#AB7938 #38AB3F #386AAB #AB38A4
split-complementary
#AB7938 #38A4AB #3F38AB
monochromatic
#4F381A #7D5829 #AB7938 #C89758 #D7B486
Accessibility & contrast
On white
3.80
#AB7938 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#AB7938 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7938
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7938 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C31
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#BA6D6B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ab7938; /* rgb */ color: rgb(171, 121, 56); /* oklch */ color: oklch(61.4% 0.103 70.9);
Tailwind
colors: {
custom: {
50: '#c89f71',
500: '#ab7938',
950: '#000000',
},
}SCSS
$custom: #ab7938; $custom-light: #c89f71; $custom-dark: #000000;
JSON
{
"hex": "#ab7938",
"rgb": {
"r": 171,
"g": 121,
"b": 56
},
"hsl": {
"h": 33.913,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.61405,
"c": 0.10255,
"h": 70.9
},
"luminance": 0.22618
}Semantic roles & 50–950 ramp
primary
#AB7938
secondary
#7D9BC1
accent
#8BDA4E
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E08
muted
#827E7B