#9D892F#9D892F

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

Color values

HEX#9D892F
RGBrgb(157, 137, 47)
HSLhsl(49, 54%, 40%)
HSVhsv(49, 70%, 62%)
CMYKcmyk(0%, 12.7%, 70.1%, 38.4%)
CIE-LABlab(57.33, -2.88, 48.94)
CIE-LCHlch(57.33, 49.02, 93.36°)
OKLaboklab(63.12% -0.0124 0.1097)
OKLCHoklch(63.12% 0.11 96.5)
XYZxyz(23.3645, 25.2658, 6.3349)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D892F #2F439D
analogous
#9D522F #9D892F #7A9D2F
triadic
#9D892F #2F9D89 #892F9D
tetradic
#9D892F #2F9D52 #2F439D #9D2F7A
square
#9D892F #2F9D52 #2F439D #9D2F7A
split-complementary
#9D892F #2F7A9D #522F9D
monochromatic
#3F3713 #6E6021 #9D892F #C7AF43 #D5C372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D892F#FFFFFF#000000##000000
##9D892F1.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)
#978623
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#A97F77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d892f;
/* rgb */ color: rgb(157, 137, 47);
/* oklch */ color: oklch(63.1% 0.110 96.5);
Tailwind
colors: {
  custom: {
    50: '#bdab6d',
    500: '#9d892f',
    950: '#000000',
  },
}
SCSS
$custom: #9d892f;
$custom-light: #bdab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d892f",
  "rgb": {
    "r": 157,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 49.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.63124,
    "c": 0.11038,
    "h": 96.5
  },
  "luminance": 0.25265
}

Semantic roles & 50–950 ramp

primary
#9D892F
secondary
#6B7ABC
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D892F

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

Preview Lab → · Contrast checker → · Palette generator →

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