#9E731F#9E731F
#9E731F is a mid, moderate orange. Relative luminance 0.196; OKLCH L 58.5% C 0.110 H 79.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9E731F |
|---|---|
| RGB | rgb(158, 115, 31) |
| HSL | hsl(40, 67%, 37%) |
| HSV | hsv(40, 80%, 62%) |
| CMYK | cmyk(0%, 27.2%, 80.4%, 38%) |
| CIE-LAB | lab(51.42, 9.16, 49.71) |
| CIE-LCH | lch(51.42, 50.55, 79.56°) |
| OKLab | oklab(58.46% 0.0203 0.108) |
| OKLCH | oklch(58.46% 0.11 79.4) |
| XYZ | xyz(20.4800, 19.6311, 4.0066) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 3.99
Golden Brown
#B27A01
ΔE00 5.44
Mustard Brown
#AC7E04
ΔE00 5.44
Yellowish Brown
#9B7A01
ΔE00 5.46
Caramel (survey)
#AF6F09
ΔE00 5.71
Puke Brown
#947706
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E731F #1F4A9E
analogous
#9E341F #9E731F #8A9E1F
triadic
#9E731F #1F9E73 #731F9E
tetradic
#9E731F #1F9E34 #1F4A9E #9E1F8A
square
#9E731F #1F9E34 #1F4A9E #9E1F8A
split-complementary
#9E731F #1F8A9E #341F9E
monochromatic
#38290B #6B4E15 #9E731F #D19829 #DEB159
Accessibility & contrast
On white
4.26
#9E731F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#9E731F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E731F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E731F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E731F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740F
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#AC6763
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9e731f; /* rgb */ color: rgb(158, 115, 31); /* oklch */ color: oklch(58.5% 0.110 79.4);
Tailwind
colors: {
custom: {
50: '#bf9b62',
500: '#9e731f',
950: '#000000',
},
}SCSS
$custom: #9e731f; $custom-light: #bf9b62; $custom-dark: #000000;
JSON
{
"hex": "#9e731f",
"rgb": {
"r": 158,
"g": 115,
"b": 31
},
"hsl": {
"h": 39.685,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.58455,
"c": 0.10984,
"h": 79.4
},
"luminance": 0.19629
}Semantic roles & 50–950 ramp
primary
#9E731F
secondary
#567BC2
accent
#78EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A