#9DA172#9DA172

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

Color values

HEX#9DA172
RGBrgb(157, 161, 114)
HSLhsl(65, 20%, 54%)
HSVhsv(65, 29%, 63%)
CMYKcmyk(2.5%, 0%, 29.2%, 36.9%)
CIE-LABlab(64.86, -9.30, 24.06)
CIE-LCHlch(64.86, 25.80, 111.13°)
OKLaboklab(69.38% -0.0244 0.0603)
OKLCHoklch(69.38% 0.065 112)
XYZxyz(29.6868, 33.8731, 20.8906)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA172 #7672A1
analogous
#A18E72 #9DA172 #86A172
triadic
#9DA172 #729DA1 #A1729D
tetradic
#9DA172 #72A18E #7672A1 #A17286
square
#9DA172 #72A18E #7672A1 #A17286
split-complementary
#9DA172 #7286A1 #8E72A1
monochromatic
#595C3D #7D8056 #9DA172 #B7B997 #D0D2BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA172#FFFFFF#000000##000000
##9DA1721.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)
#A89D6F
Deuteranopia (green-blind)
#A89E74
Tritanopia (blue-blind)
#A39C95
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da172;
/* rgb */ color: rgb(157, 161, 114);
/* oklch */ color: oklch(69.4% 0.065 112.0);
Tailwind
colors: {
  custom: {
    50: '#babc9b',
    500: '#9da172',
    950: '#000000',
  },
}
SCSS
$custom: #9da172;
$custom-light: #babc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da172",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 114
  },
  "hsl": {
    "h": 65.106,
    "s": 20,
    "l": 53.922
  },
  "oklch": {
    "l": 0.69379,
    "c": 0.06502,
    "h": 112
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DA172

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

Preview Lab → · Contrast checker → · Palette generator →

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