#9D802A#9D802A

#9D802A is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.1% C 0.108 H 89.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D802A
RGBrgb(157, 128, 42)
HSLhsl(45, 58%, 39%)
HSVhsv(45, 73%, 62%)
CMYKcmyk(0%, 18.5%, 73.2%, 38.4%)
CIE-LABlab(54.84, 1.85, 48.54)
CIE-LCHlch(54.84, 48.58, 87.82°)
OKLaboklab(61.14% 0.0005 0.1079)
OKLCHoklch(61.14% 0.108 89.7)
XYZxyz(22.0430, 22.7750, 5.4250)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D802A #2A479D
analogous
#9D472A #9D802A #819D2A
triadic
#9D802A #2A9D80 #802A9D
tetradic
#9D802A #2A9D47 #2A479D #9D2A81
square
#9D802A #2A9D47 #2A479D #9D2A81
split-complementary
#9D802A #2A819D #472A9D
monochromatic
#3C3110 #6D591D #9D802A #CAA63A #D7BC6A

Accessibility & contrast

On white

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

On black

5.55
#9D802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D802A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D802A#FFFFFF#000000##000000
##9D802A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#AA756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d802a;
/* rgb */ color: rgb(157, 128, 42);
/* oklch */ color: oklch(61.1% 0.108 89.7);
Tailwind
colors: {
  custom: {
    50: '#bea469',
    500: '#9d802a',
    950: '#000000',
  },
}
SCSS
$custom: #9d802a;
$custom-light: #bea469;
$custom-dark: #000000;
JSON
{
  "hex": "#9d802a",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 44.87,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.1079,
    "h": 89.7
  },
  "luminance": 0.22774
}

Semantic roles & 50–950 ramp

primary
#9D802A
secondary
#657BBE
accent
#6EE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D802A

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

Preview Lab → · Contrast checker → · Palette generator →

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