#9D882F#9D882F

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

Color values

HEX#9D882F
RGBrgb(157, 136, 47)
HSLhsl(49, 54%, 40%)
HSVhsv(49, 70%, 62%)
CMYKcmyk(0%, 13.4%, 70.1%, 38.4%)
CIE-LABlab(57.06, -2.33, 48.66)
CIE-LCHlch(57.06, 48.71, 92.74°)
OKLaboklab(62.91% -0.0108 0.1091)
OKLCHoklch(62.91% 0.11 95.7)
XYZxyz(23.2230, 24.9829, 6.2877)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D882F #2F449D
analogous
#9D512F #9D882F #7B9D2F
triadic
#9D882F #2F9D88 #882F9D
tetradic
#9D882F #2F9D51 #2F449D #9D2F7B
square
#9D882F #2F9D51 #2F449D #9D2F7B
split-complementary
#9D882F #2F7B9D #512F9D
monochromatic
#3F3613 #6E5F21 #9D882F #C7AD43 #D5C272

Accessibility & contrast

On white

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

On black

6.00
#9D882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D882F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D882F#FFFFFF#000000##000000
##9D882F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#A97E76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9d882f;
/* rgb */ color: rgb(157, 136, 47);
/* oklch */ color: oklch(62.9% 0.110 95.7);
Tailwind
colors: {
  custom: {
    50: '#bdaa6d',
    500: '#9d882f',
    950: '#000000',
  },
}
SCSS
$custom: #9d882f;
$custom-light: #bdaa6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d882f",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 48.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.10963,
    "h": 95.7
  },
  "luminance": 0.24982
}

Semantic roles & 50–950 ramp

primary
#9D882F
secondary
#6B7BBC
accent
#67DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D882F

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

Preview Lab → · Contrast checker → · Palette generator →

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