#9D882B#9D882B

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

Color values

HEX#9D882B
RGBrgb(157, 136, 43)
HSLhsl(49, 57%, 39%)
HSVhsv(49, 73%, 62%)
CMYKcmyk(0%, 13.4%, 72.6%, 38.4%)
CIE-LABlab(57.03, -2.54, 50.31)
CIE-LCHlch(57.03, 50.37, 92.89°)
OKLaboklab(62.87% -0.0119 0.1118)
OKLCHoklch(62.87% 0.112 96.1)
XYZxyz(23.1460, 24.9521, 5.8821)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D882B #2B409D
analogous
#9D4F2B #9D882B #799D2B
triadic
#9D882B #2B9D88 #882B9D
tetradic
#9D882B #2B9D4F #2B409D #9D2B79
square
#9D882B #2B9D4F #2B409D #9D2B79
split-complementary
#9D882B #2B799D #4F2B9D
monochromatic
#3D3511 #6D5E1E #9D882B #CAAF3C #D7C36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D882B#FFFFFF#000000##000000
##9D882B1.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)
#96851D
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#AA7D75
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d882b;
/* rgb */ color: rgb(157, 136, 43);
/* oklch */ color: oklch(62.9% 0.112 96.1);
Tailwind
colors: {
  custom: {
    50: '#bdaa6a',
    500: '#9d882b',
    950: '#000000',
  },
}
SCSS
$custom: #9d882b;
$custom-light: #bdaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d882b",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 48.947,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.11246,
    "h": 96.1
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D882B

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

Preview Lab → · Contrast checker → · Palette generator →

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