#9D802C#9D802C

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

Color values

HEX#9D802C
RGBrgb(157, 128, 44)
HSLhsl(45, 56%, 39%)
HSVhsv(45, 72%, 62%)
CMYKcmyk(0%, 18.5%, 72%, 38.4%)
CIE-LABlab(54.86, 1.96, 47.71)
CIE-LCHlch(54.86, 47.75, 87.65°)
OKLaboklab(61.16% 0.0011 0.1065)
OKLCHoklch(61.16% 0.107 89.4)
XYZxyz(22.0797, 22.7897, 5.6183)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D802C #2C499D
analogous
#9D482C #9D802C #829D2C
triadic
#9D802C #2C9D80 #802C9D
tetradic
#9D802C #2C9D48 #2C499D #9D2C82
square
#9D802C #2C9D48 #2C499D #9D2C82
split-complementary
#9D802C #2C829D #482C9D
monochromatic
#3D3211 #6D591F #9D802C #C9A53D #D6BB6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D802C#FFFFFF#000000##000000
##9D802C1.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)
#8F7F20
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#AA756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9d802c;
/* rgb */ color: rgb(157, 128, 44);
/* oklch */ color: oklch(61.2% 0.107 89.4);
Tailwind
colors: {
  custom: {
    50: '#bea46a',
    500: '#9d802c',
    950: '#000000',
  },
}
SCSS
$custom: #9d802c;
$custom-light: #bea46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d802c",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 44.602,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.10652,
    "h": 89.4
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#9D802C
secondary
#687EBD
accent
#6FE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D802C

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

Preview Lab → · Contrast checker → · Palette generator →

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