#9C802F#9C802F

#9C802F is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.1% C 0.104 H 89.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9C802F
RGBrgb(156, 128, 47)
HSLhsl(45, 54%, 40%)
HSVhsv(45, 70%, 61%)
CMYKcmyk(0%, 17.9%, 69.9%, 38.8%)
CIE-LABlab(54.78, 1.67, 46.27)
CIE-LCHlch(54.78, 46.30, 87.94°)
OKLaboklab(61.08% 0.0007 0.1041)
OKLCHoklch(61.08% 0.104 89.6)
XYZxyz(21.9437, 22.7128, 5.9170)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C802F #2F4B9C
analogous
#9C492F #9C802F #829C2F
triadic
#9C802F #2F9C80 #802F9C
tetradic
#9C802F #2F9C49 #2F4B9C #9C2F82
square
#9C802F #2F9C49 #2F4B9C #9C2F82
split-complementary
#9C802F #2F829C #492F9C
monochromatic
#3E3313 #6D5921 #9C802F #C6A442 #D4BB71

Accessibility & contrast

On white

3.79
#9C802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9C802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C802F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C802F#FFFFFF#000000##000000
##9C802F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F25
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#A9756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c802f;
/* rgb */ color: rgb(156, 128, 47);
/* oklch */ color: oklch(61.1% 0.104 89.6);
Tailwind
colors: {
  custom: {
    50: '#bda46c',
    500: '#9c802f',
    950: '#000000',
  },
}
SCSS
$custom: #9c802f;
$custom-light: #bda46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c802f",
  "rgb": {
    "r": 156,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 44.587,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.10407,
    "h": 89.6
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#9C802F
secondary
#6B80BC
accent
#70DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C802F

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

Preview Lab → · Contrast checker → · Palette generator →

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