#9E7D2F#9E7D2F

#9E7D2F is a mid, moderate orange. Relative luminance 0.221; OKLCH L 60.7% C 0.103 H 85.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9E7D2F
RGBrgb(158, 125, 47)
HSLhsl(42, 54%, 40%)
HSVhsv(42, 70%, 62%)
CMYKcmyk(0%, 20.9%, 70.3%, 38%)
CIE-LABlab(54.18, 4.26, 45.72)
CIE-LCHlch(54.18, 45.91, 84.67°)
OKLaboklab(60.66% 0.0081 0.1028)
OKLCHoklch(60.66% 0.103 85.5)
XYZxyz(21.9485, 22.1430, 5.8068)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7D2F #2F509E
analogous
#9E452F #9E7D2F #879E2F
triadic
#9E7D2F #2F9E7D #7D2F9E
tetradic
#9E7D2F #2F9E45 #2F509E #9E2F87
square
#9E7D2F #2F9E45 #2F509E #9E2F87
split-complementary
#9E7D2F #2F879E #452F9E
monochromatic
#403213 #6F5821 #9E7D2F #C7A043 #D5B872

Accessibility & contrast

On white

3.87
#9E7D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9E7D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7D2F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7D2F#FFFFFF#000000##000000
##9E7D2F1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C25
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#AB726D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9e7d2f;
/* rgb */ color: rgb(158, 125, 47);
/* oklch */ color: oklch(60.7% 0.103 85.5);
Tailwind
colors: {
  custom: {
    50: '#bea26c',
    500: '#9e7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #9e7d2f;
$custom-light: #bea26c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7d2f",
  "rgb": {
    "r": 158,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 42.162,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60658,
    "c": 0.10314,
    "h": 85.5
  },
  "luminance": 0.22142
}

Semantic roles & 50–950 ramp

primary
#9E7D2F
secondary
#6C84BD
accent
#76DE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F07
muted
#827E7A

Preview Lab

Preview with #9E7D2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E7D2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva