#9D731F#9D731F
#9D731F is a mid, moderate orange. Relative luminance 0.195; OKLCH L 58.3% C 0.109 H 80.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9D731F |
|---|---|
| RGB | rgb(157, 115, 31) |
| HSL | hsl(40, 67%, 37%) |
| HSV | hsv(40, 80%, 62%) |
| CMYK | cmyk(0%, 26.8%, 80.3%, 38.4%) |
| CIE-LAB | lab(51.30, 8.70, 49.57) |
| CIE-LCH | lch(51.30, 50.32, 80.04°) |
| OKLab | oklab(58.34% 0.019 0.1077) |
| OKLCH | oklch(58.34% 0.109 80) |
| XYZ | xyz(20.2841, 19.5301, 3.9974) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 4.06
Yellowish Brown
#9B7A01
ΔE00 5.25
Mustard Brown
#AC7E04
ΔE00 5.49
Puke Brown
#947706
ΔE00 5.51
Golden Brown
#B27A01
ΔE00 5.65
Poo
#8F7303
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D731F #1F499D
analogous
#9D341F #9D731F #889D1F
triadic
#9D731F #1F9D73 #731F9D
tetradic
#9D731F #1F9D34 #1F499D #9D1F88
square
#9D731F #1F9D34 #1F499D #9D1F88
split-complementary
#9D731F #1F889D #341F9D
monochromatic
#37280B #6A4E15 #9D731F #D09829 #DEB158
Accessibility & contrast
On white
4.28
#9D731F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#9D731F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D731F
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D731F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D731F | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#AB6763
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9d731f; /* rgb */ color: rgb(157, 115, 31); /* oklch */ color: oklch(58.3% 0.109 80.0);
Tailwind
colors: {
custom: {
50: '#bf9b62',
500: '#9d731f',
950: '#000000',
},
}SCSS
$custom: #9d731f; $custom-light: #bf9b62; $custom-dark: #000000;
JSON
{
"hex": "#9d731f",
"rgb": {
"r": 157,
"g": 115,
"b": 31
},
"hsl": {
"h": 40,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.58338,
"c": 0.10935,
"h": 80
},
"luminance": 0.19528
}Semantic roles & 50–950 ramp
primary
#9D731F
secondary
#567AC2
accent
#77EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A