#9DA173#9DA173

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

Color values

HEX#9DA173
RGBrgb(157, 161, 115)
HSLhsl(65, 20%, 54%)
HSVhsv(65, 29%, 63%)
CMYKcmyk(2.5%, 0%, 28.6%, 36.9%)
CIE-LABlab(64.88, -9.16, 23.54)
CIE-LCHlch(64.88, 25.26, 111.26°)
OKLaboklab(69.4% -0.024 0.0591)
OKLCHoklch(69.4% 0.064 112.1)
XYZxyz(29.7440, 33.8960, 21.1920)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA173 #7773A1
analogous
#A18E73 #9DA173 #86A173
triadic
#9DA173 #739DA1 #A1739D
tetradic
#9DA173 #73A18E #7773A1 #A17386
square
#9DA173 #73A18E #7773A1 #A17386
split-complementary
#9DA173 #7386A1 #8E73A1
monochromatic
#595C3E #7D8156 #9DA173 #B7BA98 #D0D2BC

Accessibility & contrast

On white

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

On black

7.78
#9DA173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA173
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA173#FFFFFF#000000##000000
##9DA1731.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89D70
Deuteranopia (green-blind)
#A89E75
Tritanopia (blue-blind)
#A39C95
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da173;
/* rgb */ color: rgb(157, 161, 115);
/* oklch */ color: oklch(69.4% 0.064 112.1);
Tailwind
colors: {
  custom: {
    50: '#babc9b',
    500: '#9da173',
    950: '#000000',
  },
}
SCSS
$custom: #9da173;
$custom-light: #babc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da173",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 65.217,
    "s": 19.658,
    "l": 54.118
  },
  "oklch": {
    "l": 0.694,
    "c": 0.06373,
    "h": 112.1
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#9DA173
secondary
#B0AEC2
accent
#6CBC73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11120E
muted
#80817E

Preview Lab

Preview with #9DA173

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

Preview Lab → · Contrast checker → · Palette generator →

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