#9B7828#9B7828
#9B7828 is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.2% C 0.105 H 84.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9B7828 |
|---|---|
| RGB | rgb(155, 120, 40) |
| HSL | hsl(42, 59%, 38%) |
| HSV | hsv(42, 74%, 61%) |
| CMYK | cmyk(0%, 22.6%, 74.2%, 39.2%) |
| CIE-LAB | lab(52.46, 5.34, 46.95) |
| CIE-LCH | lch(52.46, 47.25, 83.51°) |
| OKLab | oklab(59.22% 0.0105 0.1042) |
| OKLCH | oklch(59.22% 0.105 84.3) |
| XYZ | xyz(20.6183, 20.5561, 4.8888) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.98
Puke Brown
#947706
ΔE00 4.15
Bronze (survey)
#A87900
ΔE00 4.57
Hazel
#8E7618
ΔE00 4.62
Poo
#8F7303
ΔE00 4.80
Mustard Brown
#AC7E04
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B7828 #284B9B
analogous
#9B3E28 #9B7828 #849B28
triadic
#9B7828 #289B78 #78289B
tetradic
#9B7828 #289B3E #284B9B #9B2884
square
#9B7828 #289B3E #284B9B #9B2884
split-complementary
#9B7828 #28849B #3E289B
monochromatic
#3A2D0F #6A521B #9B7828 #CB9D35 #D7B566
Accessibility & contrast
On white
4.11
#9B7828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#9B7828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B7828
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B7828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B7828 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#A86D68
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b7828; /* rgb */ color: rgb(155, 120, 40); /* oklch */ color: oklch(59.2% 0.105 84.3);
Tailwind
colors: {
custom: {
50: '#bc9e67',
500: '#9b7828',
950: '#000000',
},
}SCSS
$custom: #9b7828; $custom-light: #bc9e67; $custom-dark: #000000;
JSON
{
"hex": "#9b7828",
"rgb": {
"r": 155,
"g": 120,
"b": 40
},
"hsl": {
"h": 41.739,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.59216,
"c": 0.10472,
"h": 84.3
},
"luminance": 0.20555
}Semantic roles & 50–950 ramp
primary
#9B7828
secondary
#617DBD
accent
#75E246
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A