#9D892C#9D892C

#9D892C is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.1% C 0.113 H 96.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9D892C
RGBrgb(157, 137, 44)
HSLhsl(49, 56%, 39%)
HSVhsv(49, 72%, 62%)
CMYKcmyk(0%, 12.7%, 72%, 38.4%)
CIE-LABlab(57.31, -3.04, 50.18)
CIE-LCHlch(57.31, 50.27, 93.47°)
OKLaboklab(63.1% -0.0132 0.1117)
OKLCHoklch(63.1% 0.113 96.8)
XYZxyz(23.3061, 25.2425, 6.0271)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D892C #2C409D
analogous
#9D512C #9D892C #789D2C
triadic
#9D892C #2C9D89 #892C9D
tetradic
#9D892C #2C9D51 #2C409D #9D2C78
square
#9D892C #2C9D51 #2C409D #9D2C78
split-complementary
#9D892C #2C789D #512C9D
monochromatic
#3D3611 #6D5F1F #9D892C #C9B03D #D6C46D

Accessibility & contrast

On white

3.47
#9D892C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#9D892C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D892C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D892C#FFFFFF#000000##000000
##9D892C1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#AA7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d892c;
/* rgb */ color: rgb(157, 137, 44);
/* oklch */ color: oklch(63.1% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#bdab6b',
    500: '#9d892c',
    950: '#000000',
  },
}
SCSS
$custom: #9d892c;
$custom-light: #bdab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d892c",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 49.381,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.11252,
    "h": 96.8
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#9D892C
secondary
#6877BD
accent
#63E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D892C

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

Preview Lab → · Contrast checker → · Palette generator →

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