#9F781A#9F781A

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

Color values

HEX#9F781A
RGBrgb(159, 120, 26)
HSLhsl(42, 72%, 36%)
HSVhsv(42, 84%, 62%)
CMYKcmyk(0%, 24.5%, 83.6%, 37.6%)
CIE-LABlab(52.82, 6.61, 52.78)
CIE-LCHlch(52.82, 53.19, 82.86°)
OKLaboklab(59.57% 0.0123 0.1134)
OKLCHoklch(59.57% 0.114 83.8)
XYZxyz(21.2024, 20.8801, 3.8906)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F781A #1A419F
analogous
#9F361A #9F781A #849F1A
triadic
#9F781A #1A9F78 #781A9F
tetradic
#9F781A #1A9F36 #1A419F #9F1A84
square
#9F781A #1A9F36 #1A419F #9F1A84
split-complementary
#9F781A #1A849F #361A9F
monochromatic
#362909 #6A5011 #9F781A #D4A023 #E3B851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F781A#FFFFFF#000000##000000
##9F781A1.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)
#897802
Deuteranopia (green-blind)
#92821F
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f781a;
/* rgb */ color: rgb(159, 120, 26);
/* oklch */ color: oklch(59.6% 0.114 83.8);
Tailwind
colors: {
  custom: {
    50: '#c09e60',
    500: '#9f781a',
    950: '#000000',
  },
}
SCSS
$custom: #9f781a;
$custom-light: #c09e60;
$custom-dark: #000000;
JSON
{
  "hex": "#9f781a",
  "rgb": {
    "r": 159,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 42.406,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.11403,
    "h": 83.8
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#9F781A
secondary
#5072C5
accent
#6EEF39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9F781A

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

Preview Lab → · Contrast checker → · Palette generator →

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