#9D892B#9D892B

#9D892B 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#9D892B
RGBrgb(157, 137, 43)
HSLhsl(49, 57%, 39%)
HSVhsv(49, 73%, 62%)
CMYKcmyk(0%, 12.7%, 72.6%, 38.4%)
CIE-LABlab(57.30, -3.09, 50.58)
CIE-LCHlch(57.30, 50.67, 93.50°)
OKLaboklab(63.09% -0.0135 0.1124)
OKLCHoklch(63.09% 0.113 96.8)
XYZxyz(23.2875, 25.2350, 5.9293)
Luminance0.2523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D892B #2B3F9D
analogous
#9D502B #9D892B #789D2B
triadic
#9D892B #2B9D89 #892B9D
tetradic
#9D892B #2B9D50 #2B3F9D #9D2B78
square
#9D892B #2B9D50 #2B3F9D #9D2B78
split-complementary
#9D892B #2B789D #502B9D
monochromatic
#3D3511 #6D5F1E #9D892B #CAB13C #D7C46C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D892B#FFFFFF#000000##000000
##9D892B1.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)
#97861D
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#AA7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d892b;
/* rgb */ color: rgb(157, 137, 43);
/* oklch */ color: oklch(63.1% 0.113 96.8);
Tailwind
colors: {
  custom: {
    50: '#bdab6b',
    500: '#9d892b',
    950: '#000000',
  },
}
SCSS
$custom: #9d892b;
$custom-light: #bdab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d892b",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 49.474,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63091,
    "c": 0.11321,
    "h": 96.8
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D892B

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

Preview Lab → · Contrast checker → · Palette generator →

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