#9D781C#9D781C

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

Color values

HEX#9D781C
RGBrgb(157, 120, 28)
HSLhsl(43, 70%, 36%)
HSVhsv(43, 82%, 62%)
CMYKcmyk(0%, 23.6%, 82.2%, 38.4%)
CIE-LABlab(52.60, 5.75, 51.83)
CIE-LCHlch(52.60, 52.15, 83.66°)
OKLaboklab(59.36% 0.0102 0.1119)
OKLCHoklch(59.36% 0.112 84.8)
XYZxyz(20.8321, 20.6864, 3.9941)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D781C #1C419D
analogous
#9D381C #9D781C #829D1C
triadic
#9D781C #1C9D78 #781C9D
tetradic
#9D781C #1C9D38 #1C419D #9D1C82
square
#9D781C #1C9D38 #1C419D #9D1C82
split-complementary
#9D781C #1C829D #381C9D
monochromatic
#352909 #695013 #9D781C #D1A025 #E0B853

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D781C#FFFFFF#000000##000000
##9D781C1.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)
#887806
Deuteranopia (green-blind)
#918121
Tritanopia (blue-blind)
#AB6C67
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d781c;
/* rgb */ color: rgb(157, 120, 28);
/* oklch */ color: oklch(59.4% 0.112 84.8);
Tailwind
colors: {
  custom: {
    50: '#be9e61',
    500: '#9d781c',
    950: '#000000',
  },
}
SCSS
$custom: #9d781c;
$custom-light: #be9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#9d781c",
  "rgb": {
    "r": 157,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 42.791,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.11235,
    "h": 84.8
  },
  "luminance": 0.20685
}

Semantic roles & 50–950 ramp

primary
#9D781C
secondary
#5172C3
accent
#6EED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9D781C

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

Preview Lab → · Contrast checker → · Palette generator →

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