#9D802F#9D802F

#9D802F is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.2% C 0.104 H 88.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9D802F
RGBrgb(157, 128, 47)
HSLhsl(44, 54%, 40%)
HSVhsv(44, 70%, 62%)
CMYKcmyk(0%, 18.5%, 70.1%, 38.4%)
CIE-LABlab(54.88, 2.12, 46.41)
CIE-LCHlch(54.88, 46.46, 87.38°)
OKLaboklab(61.19% 0.0019 0.1043)
OKLCHoklch(61.19% 0.104 88.9)
XYZxyz(22.1381, 22.8130, 5.9261)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D802F #2F4C9D
analogous
#9D492F #9D802F #839D2F
triadic
#9D802F #2F9D80 #802F9D
tetradic
#9D802F #2F9D49 #2F4C9D #9D2F83
square
#9D802F #2F9D49 #2F4C9D #9D2F83
split-complementary
#9D802F #2F839D #492F9D
monochromatic
#3F3313 #6E5A21 #9D802F #C7A443 #D5BB72

Accessibility & contrast

On white

3.78
#9D802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#9D802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D802F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D802F#FFFFFF#000000##000000
##9D802F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F25
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#AA756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d802f;
/* rgb */ color: rgb(157, 128, 47);
/* oklch */ color: oklch(61.2% 0.104 88.9);
Tailwind
colors: {
  custom: {
    50: '#bda46c',
    500: '#9d802f',
    950: '#000000',
  },
}
SCSS
$custom: #9d802f;
$custom-light: #bda46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d802f",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 44.182,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.10435,
    "h": 88.9
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#9D802F
secondary
#6B81BC
accent
#71DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D802F

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

Preview Lab → · Contrast checker → · Palette generator →

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