#9D9E71#9D9E71

#9D9E71 is a light, moderate yellow. Relative luminance 0.328; OKLCH L 68.7% C 0.062 H 109.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9D9E71
RGBrgb(157, 158, 113)
HSLhsl(61, 19%, 53%)
HSVhsv(61, 28%, 62%)
CMYKcmyk(0.6%, 0%, 28.5%, 38%)
CIE-LABlab(64.01, -7.83, 23.47)
CIE-LCHlch(64.01, 24.74, 108.45°)
OKLaboklab(68.7% -0.0203 0.0588)
OKLCHoklch(68.7% 0.062 109)
XYZxyz(29.1122, 32.8145, 20.4198)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E71 #72719E
analogous
#9E8871 #9D9E71 #869E71
triadic
#9D9E71 #719D9E #9E719D
tetradic
#9D9E71 #719E88 #72719E #9E7186
square
#9D9E71 #719E88 #72719E #9E7186
split-complementary
#9D9E71 #71869E #88719E
monochromatic
#58583C #7C7D55 #9D9E71 #B6B795 #CFD0BA

Accessibility & contrast

On white

2.78
#9D9E71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9D9E71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E71
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E71#FFFFFF#000000##000000
##9D9E711.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6E
Deuteranopia (green-blind)
#A69C73
Tritanopia (blue-blind)
#A39892
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9d9e71;
/* rgb */ color: rgb(157, 158, 113);
/* oklch */ color: oklch(68.7% 0.062 109.0);
Tailwind
colors: {
  custom: {
    50: '#baba9a',
    500: '#9d9e71',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e71;
$custom-light: #baba9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e71",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 113
  },
  "hsl": {
    "h": 61.333,
    "s": 18.828,
    "l": 53.137
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.06222,
    "h": 109
  },
  "luminance": 0.32814
}

Semantic roles & 50–950 ramp

primary
#9D9E71
secondary
#ACACBF
accent
#6CBB6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9D9E71

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

Preview Lab → · Contrast checker → · Palette generator →

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