#9F7828#9F7828
#9F7828 is a mid, moderate orange. Relative luminance 0.210; OKLCH L 59.7% C 0.106 H 81.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7828 |
|---|---|
| RGB | rgb(159, 120, 40) |
| HSL | hsl(40, 60%, 39%) |
| HSV | hsv(40, 75%, 62%) |
| CMYK | cmyk(0%, 24.5%, 74.8%, 37.6%) |
| CIE-LAB | lab(52.90, 7.17, 47.54) |
| CIE-LCH | lch(52.90, 48.08, 81.42°) |
| OKLab | oklab(59.67% 0.0155 0.1053) |
| OKLCH | oklch(59.67% 0.106 81.6) |
| XYZ | xyz(21.3989, 20.9586, 4.9254) |
| Luminance | 0.2096 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 3.88
Yellowish Brown
#9B7A01
ΔE00 4.64
Mustard Brown
#AC7E04
ΔE00 4.75
Puke Brown
#947706
ΔE00 5.18
Golden Brown
#B27A01
ΔE00 5.55
Poo
#8F7303
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7828 #284F9F
analogous
#9F3D28 #9F7828 #8B9F28
triadic
#9F7828 #289F78 #78289F
tetradic
#9F7828 #289F3D #284F9F #9F288B
square
#9F7828 #289F3D #284F9F #9F288B
split-complementary
#9F7828 #288B9F #3D289F
monochromatic
#3D2E0F #6E531C #9F7828 #CD9C37 #D9B468
Accessibility & contrast
On white
4.05
#9F7828 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#9F7828 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7828
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7828 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7828 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#AD6C68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9f7828; /* rgb */ color: rgb(159, 120, 40); /* oklch */ color: oklch(59.7% 0.106 81.6);
Tailwind
colors: {
custom: {
50: '#bf9e67',
500: '#9f7828',
950: '#000000',
},
}SCSS
$custom: #9f7828; $custom-light: #bf9e67; $custom-dark: #000000;
JSON
{
"hex": "#9f7828",
"rgb": {
"r": 159,
"g": 120,
"b": 40
},
"hsl": {
"h": 40.336,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.59665,
"c": 0.10641,
"h": 81.6
},
"luminance": 0.20957
}Semantic roles & 50–950 ramp
primary
#9F7828
secondary
#6482BF
accent
#79E345
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A