#9D892D#9D892D

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

Color values

HEX#9D892D
RGBrgb(157, 137, 45)
HSLhsl(49, 55%, 40%)
HSVhsv(49, 71%, 62%)
CMYKcmyk(0%, 12.7%, 71.3%, 38.4%)
CIE-LABlab(57.32, -2.99, 49.77)
CIE-LCHlch(57.32, 49.86, 93.44°)
OKLaboklab(63.11% -0.013 0.1111)
OKLCHoklch(63.11% 0.112 96.7)
XYZxyz(23.3251, 25.2501, 6.1273)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D892D #2D419D
analogous
#9D512D #9D892D #799D2D
triadic
#9D892D #2D9D89 #892D9D
tetradic
#9D892D #2D9D51 #2D419D #9D2D79
square
#9D892D #2D9D51 #2D419D #9D2D79
split-complementary
#9D892D #2D799D #512D9D
monochromatic
#3E3612 #6D5F1F #9D892D #C8B03F #D6C36F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D892D#FFFFFF#000000##000000
##9D892D1.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)
#978620
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#AA7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d892d;
/* rgb */ color: rgb(157, 137, 45);
/* oklch */ color: oklch(63.1% 0.112 96.7);
Tailwind
colors: {
  custom: {
    50: '#bdab6c',
    500: '#9d892d',
    950: '#000000',
  },
}
SCSS
$custom: #9d892d;
$custom-light: #bdab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d892d",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 49.286,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.11182,
    "h": 96.7
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#9D892D
secondary
#6978BD
accent
#64DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D892D

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

Preview Lab → · Contrast checker → · Palette generator →

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