#9E7F2B#9E7F2B
#9E7F2B is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.0% C 0.107 H 88.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7F2B |
|---|---|
| RGB | rgb(158, 127, 43) |
| HSL | hsl(44, 57%, 39%) |
| HSV | hsv(44, 73%, 62%) |
| CMYK | cmyk(0%, 19.6%, 72.8%, 38%) |
| CIE-LAB | lab(54.68, 2.92, 48.00) |
| CIE-LCH | lch(54.68, 48.08, 86.52°) |
| OKLab | oklab(61.05% 0.0037 0.1069) |
| OKLCH | oklch(61.05% 0.107 88) |
| XYZ | xyz(22.1272, 22.6237, 5.4864) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.55
Puke Brown
#947706
ΔE00 4.24
Diarrhea
#9F8303
ΔE00 4.29
Hazel
#8E7618
ΔE00 4.81
Baby Poop
#937C00
ΔE00 4.85
Mustard Brown
#AC7E04
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7F2B #2B4A9E
analogous
#9E462B #9E7F2B #849E2B
triadic
#9E7F2B #2B9E7F #7F2B9E
tetradic
#9E7F2B #2B9E46 #2B4A9E #9E2B84
square
#9E7F2B #2B9E46 #2B4A9E #9E2B84
split-complementary
#9E7F2B #2B849E #462B9E
monochromatic
#3E3211 #6E581E #9E7F2B #CAA43C #D7BA6C
Accessibility & contrast
On white
3.80
#9E7F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#9E7F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7F2B
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7F2B | 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)
#8E7E1F
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#AB746E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9e7f2b; /* rgb */ color: rgb(158, 127, 43); /* oklch */ color: oklch(61.0% 0.107 88.0);
Tailwind
colors: {
custom: {
50: '#bea36a',
500: '#9e7f2b',
950: '#000000',
},
}SCSS
$custom: #9e7f2b; $custom-light: #bea36a; $custom-dark: #000000;
JSON
{
"hex": "#9e7f2b",
"rgb": {
"r": 158,
"g": 127,
"b": 43
},
"hsl": {
"h": 43.826,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.61045,
"c": 0.10695,
"h": 88
},
"luminance": 0.22622
}Semantic roles & 50–950 ramp
primary
#9E7F2B
secondary
#677EBE
accent
#71E047
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F07
muted
#827F7A