#9D892E#9D892E

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

Color values

HEX#9D892E
RGBrgb(157, 137, 46)
HSLhsl(49, 55%, 40%)
HSVhsv(49, 71%, 62%)
CMYKcmyk(0%, 12.7%, 70.7%, 38.4%)
CIE-LABlab(57.33, -2.93, 49.36)
CIE-LCHlch(57.33, 49.44, 93.40°)
OKLaboklab(63.12% -0.0127 0.1104)
OKLCHoklch(63.12% 0.111 96.6)
XYZxyz(23.3446, 25.2579, 6.2299)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D892E #2E429D
analogous
#9D512E #9D892E #7A9D2E
triadic
#9D892E #2E9D89 #892E9D
tetradic
#9D892E #2E9D51 #2E429D #9D2E7A
square
#9D892E #2E9D51 #2E429D #9D2E7A
split-complementary
#9D892E #2E7A9D #512E9D
monochromatic
#3E3612 #6E6020 #9D892E #C7AF41 #D5C370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D892E#FFFFFF#000000##000000
##9D892E1.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)
#978621
Deuteranopia (green-blind)
#9C8C33
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d892e;
/* rgb */ color: rgb(157, 137, 46);
/* oklch */ color: oklch(63.1% 0.111 96.6);
Tailwind
colors: {
  custom: {
    50: '#bdab6c',
    500: '#9d892e',
    950: '#000000',
  },
}
SCSS
$custom: #9d892e;
$custom-light: #bdab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d892e",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 49.189,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63115,
    "c": 0.11111,
    "h": 96.6
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#9D892E
secondary
#6A79BD
accent
#64DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D892E

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

Preview Lab → · Contrast checker → · Palette generator →

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