#9D882D#9D882D

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

Color values

HEX#9D882D
RGBrgb(157, 136, 45)
HSLhsl(49, 55%, 40%)
HSVhsv(49, 71%, 62%)
CMYKcmyk(0%, 13.4%, 71.3%, 38.4%)
CIE-LABlab(57.04, -2.44, 49.49)
CIE-LCHlch(57.04, 49.55, 92.82°)
OKLaboklab(62.89% -0.0114 0.1105)
OKLCHoklch(62.89% 0.111 95.9)
XYZxyz(23.1836, 24.9671, 6.0801)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D882D #2D429D
analogous
#9D502D #9D882D #7A9D2D
triadic
#9D882D #2D9D88 #882D9D
tetradic
#9D882D #2D9D50 #2D429D #9D2D7A
square
#9D882D #2D9D50 #2D429D #9D2D7A
split-complementary
#9D882D #2D7A9D #502D9D
monochromatic
#3E3612 #6D5F1F #9D882D #C8AE3F #D6C26F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D882D#FFFFFF#000000##000000
##9D882D1.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)
#968520
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#AA7D76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d882d;
/* rgb */ color: rgb(157, 136, 45);
/* oklch */ color: oklch(62.9% 0.111 95.9);
Tailwind
colors: {
  custom: {
    50: '#bdaa6c',
    500: '#9d882d',
    950: '#000000',
  },
}
SCSS
$custom: #9d882d;
$custom-light: #bdaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d882d",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 48.75,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6289,
    "c": 0.11106,
    "h": 95.9
  },
  "luminance": 0.24966
}

Semantic roles & 50–950 ramp

primary
#9D882D
secondary
#6979BD
accent
#65DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D882D

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

Preview Lab → · Contrast checker → · Palette generator →

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