#9C802A#9C802A

#9C802A is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 61.0% C 0.108 H 90.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9C802A
RGBrgb(156, 128, 42)
HSLhsl(45, 58%, 39%)
HSVhsv(45, 73%, 61%)
CMYKcmyk(0%, 17.9%, 73.1%, 38.8%)
CIE-LABlab(54.74, 1.39, 48.41)
CIE-LCHlch(54.74, 48.43, 88.35°)
OKLaboklab(61.04% -0.0007 0.1077)
OKLCHoklch(61.04% 0.108 90.4)
XYZxyz(21.8486, 22.6748, 5.4159)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C802A #2A469C
analogous
#9C472A #9C802A #7F9C2A
triadic
#9C802A #2A9C80 #802A9C
tetradic
#9C802A #2A9C47 #2A469C #9C2A7F
square
#9C802A #2A9C47 #2A469C #9C2A7F
split-complementary
#9C802A #2A7F9C #472A9C
monochromatic
#3C3110 #6C581D #9C802A #CAA639 #D7BC6A

Accessibility & contrast

On white

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

On black

5.53
#9C802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C802A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C802A#FFFFFF#000000##000000
##9C802A1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1E
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#A9756F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c802a;
/* rgb */ color: rgb(156, 128, 42);
/* oklch */ color: oklch(61.0% 0.108 90.4);
Tailwind
colors: {
  custom: {
    50: '#bda469',
    500: '#9c802a',
    950: '#000000',
  },
}
SCSS
$custom: #9c802a;
$custom-light: #bda469;
$custom-dark: #000000;
JSON
{
  "hex": "#9c802a",
  "rgb": {
    "r": 156,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 45.263,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.10765,
    "h": 90.4
  },
  "luminance": 0.22673
}

Semantic roles & 50–950 ramp

primary
#9C802A
secondary
#657ABD
accent
#6DE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9C802A

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

Preview Lab → · Contrast checker → · Palette generator →

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