#9F781D#9F781D

#9F781D is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.113 H 83.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9F781D
RGBrgb(159, 120, 29)
HSLhsl(42, 69%, 37%)
HSVhsv(42, 82%, 62%)
CMYKcmyk(0%, 24.5%, 81.8%, 37.6%)
CIE-LABlab(52.83, 6.71, 51.77)
CIE-LCHlch(52.83, 52.20, 82.61°)
OKLaboklab(59.59% 0.0129 0.1119)
OKLCHoklch(59.59% 0.113 83.4)
XYZxyz(21.2377, 20.8942, 4.0766)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F781D #1D449F
analogous
#9F371D #9F781D #859F1D
triadic
#9F781D #1D9F78 #781D9F
tetradic
#9F781D #1D9F37 #1D449F #9F1D85
square
#9F781D #1D9F37 #1D449F #9F1D85
split-complementary
#9F781D #1D859F #371D9F
monochromatic
#372A0A #6B5114 #9F781D #D39F26 #E0B756

Accessibility & contrast

On white

4.06
#9F781D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9F781D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F781D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F781D#FFFFFF#000000##000000
##9F781D1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f781d;
/* rgb */ color: rgb(159, 120, 29);
/* oklch */ color: oklch(59.6% 0.113 83.4);
Tailwind
colors: {
  custom: {
    50: '#c09e62',
    500: '#9f781d',
    950: '#000000',
  },
}
SCSS
$custom: #9f781d;
$custom-light: #c09e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f781d",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 42,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59587,
    "c": 0.11261,
    "h": 83.4
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#9F781D
secondary
#5476C4
accent
#71EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F781D

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

Preview Lab → · Contrast checker → · Palette generator →

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