#9D882A#9D882A

#9D882A is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.9% C 0.113 H 96.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9D882A
RGBrgb(157, 136, 42)
HSLhsl(49, 58%, 39%)
HSVhsv(49, 73%, 62%)
CMYKcmyk(0%, 13.4%, 73.2%, 38.4%)
CIE-LABlab(57.02, -2.59, 50.70)
CIE-LCHlch(57.02, 50.77, 92.93°)
OKLaboklab(62.87% -0.0122 0.1125)
OKLCHoklch(62.87% 0.113 96.2)
XYZxyz(23.1279, 24.9448, 5.7867)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D882A #2A3F9D
analogous
#9D4E2A #9D882A #799D2A
triadic
#9D882A #2A9D88 #882A9D
tetradic
#9D882A #2A9D4E #2A3F9D #9D2A79
square
#9D882A #2A9D4E #2A3F9D #9D2A79
split-complementary
#9D882A #2A799D #4E2A9D
monochromatic
#3C3410 #6D5E1D #9D882A #CAB03A #D7C36A

Accessibility & contrast

On white

3.51
#9D882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9D882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D882A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D882A#FFFFFF#000000##000000
##9D882A1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d882a;
/* rgb */ color: rgb(157, 136, 42);
/* oklch */ color: oklch(62.9% 0.113 96.2);
Tailwind
colors: {
  custom: {
    50: '#bdaa6a',
    500: '#9d882a',
    950: '#000000',
  },
}
SCSS
$custom: #9d882a;
$custom-light: #bdaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d882a",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 49.043,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62865,
    "c": 0.11314,
    "h": 96.2
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#9D882A
secondary
#6575BE
accent
#63E147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D882A

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

Preview Lab → · Contrast checker → · Palette generator →

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