#9F781F#9F781F

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

Color values

HEX#9F781F
RGBrgb(159, 120, 31)
HSLhsl(42, 67%, 37%)
HSVhsv(42, 81%, 62%)
CMYKcmyk(0%, 24.5%, 80.5%, 37.6%)
CIE-LABlab(52.84, 6.79, 51.06)
CIE-LCHlch(52.84, 51.51, 82.43°)
OKLaboklab(59.6% 0.0133 0.1108)
OKLCHoklch(59.6% 0.112 83.1)
XYZxyz(21.2633, 20.9044, 4.2111)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F781F #1F469F
analogous
#9F381F #9F781F #869F1F
triadic
#9F781F #1F9F78 #781F9F
tetradic
#9F781F #1F9F38 #1F469F #9F1F86
square
#9F781F #1F9F38 #1F469F #9F1F86
split-complementary
#9F781F #1F869F #381F9F
monochromatic
#392B0B #6C5115 #9F781F #D29F29 #DFB65A

Accessibility & contrast

On white

4.05
#9F781F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F781F#FFFFFF#000000##000000
##9F781F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f781f;
/* rgb */ color: rgb(159, 120, 31);
/* oklch */ color: oklch(59.6% 0.112 83.1);
Tailwind
colors: {
  custom: {
    50: '#c09e62',
    500: '#9f781f',
    950: '#000000',
  },
}
SCSS
$custom: #9f781f;
$custom-light: #c09e62;
$custom-dark: #000000;
JSON
{
  "hex": "#9f781f",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 41.719,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.1116,
    "h": 83.1
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#9F781F
secondary
#5778C3
accent
#72EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9F781F

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

Preview Lab → · Contrast checker → · Palette generator →

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