#9C802C#9C802C

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

Color values

HEX#9C802C
RGBrgb(156, 128, 44)
HSLhsl(45, 56%, 39%)
HSVhsv(45, 72%, 61%)
CMYKcmyk(0%, 17.9%, 71.8%, 38.8%)
CIE-LABlab(54.75, 1.50, 47.57)
CIE-LCHlch(54.75, 47.59, 88.19°)
OKLaboklab(61.05% -0.0002 0.1063)
OKLCHoklch(61.05% 0.106 90.1)
XYZxyz(21.8853, 22.6894, 5.6092)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C802C #2C489C
analogous
#9C482C #9C802C #809C2C
triadic
#9C802C #2C9C80 #802C9C
tetradic
#9C802C #2C9C48 #2C489C #9C2C80
square
#9C802C #2C9C48 #2C489C #9C2C80
split-complementary
#9C802C #2C809C #482C9C
monochromatic
#3D3211 #6C591F #9C802C #C8A53D #D6BB6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C802C#FFFFFF#000000##000000
##9C802C1.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)
#8F7E20
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#A9756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c802c;
/* rgb */ color: rgb(156, 128, 44);
/* oklch */ color: oklch(61.1% 0.106 90.1);
Tailwind
colors: {
  custom: {
    50: '#bda46a',
    500: '#9c802c',
    950: '#000000',
  },
}
SCSS
$custom: #9c802c;
$custom-light: #bda46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c802c",
  "rgb": {
    "r": 156,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 45,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.10626,
    "h": 90.1
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#9C802C
secondary
#677DBD
accent
#6EDF49
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C802C

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

Preview Lab → · Contrast checker → · Palette generator →

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