#9D882C#9D882C

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

Color values

HEX#9D882C
RGBrgb(157, 136, 44)
HSLhsl(49, 56%, 39%)
HSVhsv(49, 72%, 62%)
CMYKcmyk(0%, 13.4%, 72%, 38.4%)
CIE-LABlab(57.04, -2.49, 49.90)
CIE-LCHlch(57.04, 49.96, 92.86°)
OKLaboklab(62.88% -0.0116 0.1112)
OKLCHoklch(62.88% 0.112 96)
XYZxyz(23.1646, 24.9595, 5.9799)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D882C #2C419D
analogous
#9D502C #9D882C #799D2C
triadic
#9D882C #2C9D88 #882C9D
tetradic
#9D882C #2C9D50 #2C419D #9D2C79
square
#9D882C #2C9D50 #2C419D #9D2C79
split-complementary
#9D882C #2C799D #502C9D
monochromatic
#3D3511 #6D5F1F #9D882C #C9AF3D #D6C36D

Accessibility & contrast

On white

3.50
#9D882C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D882C#FFFFFF#000000##000000
##9D882C1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d882c;
/* rgb */ color: rgb(157, 136, 44);
/* oklch */ color: oklch(62.9% 0.112 96.0);
Tailwind
colors: {
  custom: {
    50: '#bdaa6b',
    500: '#9d882c',
    950: '#000000',
  },
}
SCSS
$custom: #9d882c;
$custom-light: #bdaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d882c",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 48.85,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62881,
    "c": 0.11177,
    "h": 96
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#9D882C
secondary
#6878BD
accent
#64E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D882C

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

Preview Lab → · Contrast checker → · Palette generator →

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