#9D905B#9D905B

#9D905B is a light, moderate yellow. Relative luminance 0.279; OKLCH L 65.2% C 0.073 H 96.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9D905B
RGBrgb(157, 144, 91)
HSLhsl(48, 27%, 49%)
HSVhsv(48, 42%, 62%)
CMYKcmyk(0%, 8.3%, 42%, 38.4%)
CIE-LABlab(59.77, -3.00, 29.89)
CIE-LCHlch(59.77, 30.04, 95.73°)
OKLaboklab(65.22% -0.0077 0.0731)
OKLCHoklch(65.22% 0.073 96)
XYZxyz(25.7668, 27.8708, 13.9178)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D905B #5B689D
analogous
#9D6F5B #9D905B #899D5B
triadic
#9D905B #5B9D90 #905B9D
tetradic
#9D905B #5B9D6F #5B689D #9D5B89
square
#9D905B #5B9D6F #5B689D #9D5B89
split-complementary
#9D905B #5B899D #6F5B9D
monochromatic
#50492E #766C45 #9D905B #B5AB80 #CCC4A7

Accessibility & contrast

On white

3.19
#9D905B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9D905B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D905B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D905B#FFFFFF#000000##000000
##9D905B1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8D57
Deuteranopia (green-blind)
#9E925D
Tritanopia (blue-blind)
#A68983
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d905b;
/* rgb */ color: rgb(157, 144, 91);
/* oklch */ color: oklch(65.2% 0.073 96.0);
Tailwind
colors: {
  custom: {
    50: '#bbb08a',
    500: '#9d905b',
    950: '#000000',
  },
}
SCSS
$custom: #9d905b;
$custom-light: #bbb08a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d905b",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 91
  },
  "hsl": {
    "h": 48.182,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.07345,
    "h": 96
  },
  "luminance": 0.2787
}

Semantic roles & 50–950 ramp

primary
#9D905B
secondary
#9AA0BA
accent
#77C365
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9D905B

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

Preview Lab → · Contrast checker → · Palette generator →

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