#9DA171#9DA171

#9DA171 is a light, moderate yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.066 H 112.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9DA171
RGBrgb(157, 161, 113)
HSLhsl(65, 20%, 54%)
HSVhsv(65, 30%, 63%)
CMYKcmyk(2.5%, 0%, 29.8%, 36.9%)
CIE-LABlab(64.84, -9.44, 24.58)
CIE-LCHlch(64.84, 26.33, 111.00°)
OKLaboklab(69.36% -0.0248 0.0615)
OKLCHoklch(69.36% 0.066 112)
XYZxyz(29.6302, 33.8504, 20.5925)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA171 #7571A1
analogous
#A18D71 #9DA171 #85A171
triadic
#9DA171 #719DA1 #A1719D
tetradic
#9DA171 #71A18D #7571A1 #A17185
square
#9DA171 #71A18D #7571A1 #A17185
split-complementary
#9DA171 #7185A1 #8D71A1
monochromatic
#595B3C #7C8055 #9DA171 #B6B996 #D0D2BB

Accessibility & contrast

On white

2.70
#9DA171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9DA171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA171
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA171#FFFFFF#000000##000000
##9DA1711.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D6E
Deuteranopia (green-blind)
#A89E73
Tritanopia (blue-blind)
#A39B94
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da171;
/* rgb */ color: rgb(157, 161, 113);
/* oklch */ color: oklch(69.4% 0.066 112.0);
Tailwind
colors: {
  custom: {
    50: '#babc9a',
    500: '#9da171',
    950: '#000000',
  },
}
SCSS
$custom: #9da171;
$custom-light: #babc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da171",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 65,
    "s": 20.339,
    "l": 53.725
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.0663,
    "h": 112
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#9DA171
secondary
#AEADC1
accent
#6BBD72
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9DA171

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

Preview Lab → · Contrast checker → · Palette generator →

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