#9D781F#9D781F

#9D781F is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.111 H 84.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D781F
RGBrgb(157, 120, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 80%, 62%)
CMYKcmyk(0%, 23.6%, 80.3%, 38.4%)
CIE-LABlab(52.62, 5.86, 50.78)
CIE-LCHlch(52.62, 51.11, 83.41°)
OKLaboklab(59.37% 0.0108 0.1103)
OKLCHoklch(59.37% 0.111 84.4)
XYZxyz(20.8698, 20.7015, 4.1927)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D781F #1F449D
analogous
#9D391F #9D781F #839D1F
triadic
#9D781F #1F9D78 #781F9D
tetradic
#9D781F #1F9D39 #1F449D #9D1F83
square
#9D781F #1F9D39 #1F449D #9D1F83
split-complementary
#9D781F #1F839D #391F9D
monochromatic
#372A0B #6A5115 #9D781F #D09F29 #DEB758

Accessibility & contrast

On white

4.09
#9D781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9D781F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D781F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D781F#FFFFFF#000000##000000
##9D781F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#AB6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d781f;
/* rgb */ color: rgb(157, 120, 31);
/* oklch */ color: oklch(59.4% 0.111 84.4);
Tailwind
colors: {
  custom: {
    50: '#be9e62',
    500: '#9d781f',
    950: '#000000',
  },
}
SCSS
$custom: #9d781f;
$custom-light: #be9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9d781f",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 42.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.11083,
    "h": 84.4
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#9D781F
secondary
#5676C2
accent
#70EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9D781F

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

Preview Lab → · Contrast checker → · Palette generator →

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