#9C882A#9C882A

#9C882A is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.113 H 96.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9C882A
RGBrgb(156, 136, 42)
HSLhsl(49, 58%, 39%)
HSVhsv(49, 73%, 61%)
CMYKcmyk(0%, 12.8%, 73.1%, 38.8%)
CIE-LABlab(56.92, -3.05, 50.58)
CIE-LCHlch(56.92, 50.67, 93.45°)
OKLaboklab(62.77% -0.0134 0.1122)
OKLCHoklch(62.77% 0.113 96.8)
XYZxyz(22.9335, 24.8446, 5.7776)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C882A #2A3E9C
analogous
#9C4F2A #9C882A #779C2A
triadic
#9C882A #2A9C88 #882A9C
tetradic
#9C882A #2A9C4F #2A3E9C #9C2A77
square
#9C882A #2A9C4F #2A3E9C #9C2A77
split-complementary
#9C882A #2A779C #4F2A9C
monochromatic
#3C3410 #6C5E1D #9C882A #CAB039 #D7C46A

Accessibility & contrast

On white

3.52
#9C882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9C882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C882A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C882A#FFFFFF#000000##000000
##9C882A1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#A97D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9c882a;
/* rgb */ color: rgb(156, 136, 42);
/* oklch */ color: oklch(62.8% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#bdaa6a',
    500: '#9c882a',
    950: '#000000',
  },
}
SCSS
$custom: #9c882a;
$custom-light: #bdaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c882a",
  "rgb": {
    "r": 156,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 49.474,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62765,
    "c": 0.11304,
    "h": 96.8
  },
  "luminance": 0.24843
}

Semantic roles & 50–950 ramp

primary
#9C882A
secondary
#6574BD
accent
#62E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C882A

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

Preview Lab → · Contrast checker → · Palette generator →

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