#9DA371#9DA371

#9DA371 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.069 H 113.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9DA371
RGBrgb(157, 163, 113)
HSLhsl(67, 21%, 54%)
HSVhsv(67, 31%, 64%)
CMYKcmyk(3.7%, 0%, 30.7%, 36.1%)
CIE-LABlab(65.40, -10.50, 25.33)
CIE-LCHlch(65.40, 27.42, 112.52°)
OKLaboklab(69.8% -0.0279 0.0632)
OKLCHoklch(69.8% 0.069 113.8)
XYZxyz(29.9825, 34.5550, 20.7099)
Luminance0.3456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA371 #7771A3
analogous
#A39071 #9DA371 #84A371
triadic
#9DA371 #719DA3 #A3719D
tetradic
#9DA371 #71A390 #7771A3 #A37184
square
#9DA371 #71A390 #7771A3 #A37184
split-complementary
#9DA371 #7184A3 #9071A3
monochromatic
#595D3C #7D8254 #9DA371 #B7BB96 #D0D3BB

Accessibility & contrast

On white

2.65
#9DA371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9DA371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA371
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA371#FFFFFF#000000##000000
##9DA3711.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6E
Deuteranopia (green-blind)
#AA9F73
Tritanopia (blue-blind)
#A39D96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9da371;
/* rgb */ color: rgb(157, 163, 113);
/* oklch */ color: oklch(69.8% 0.069 113.8);
Tailwind
colors: {
  custom: {
    50: '#babe9a',
    500: '#9da371',
    950: '#000000',
  },
}
SCSS
$custom: #9da371;
$custom-light: #babe9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da371",
  "rgb": {
    "r": 157,
    "g": 163,
    "b": 113
  },
  "hsl": {
    "h": 67.2,
    "s": 21.368,
    "l": 54.118
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.0691,
    "h": 113.8
  },
  "luminance": 0.34555
}

Semantic roles & 50–950 ramp

primary
#9DA371
secondary
#B0ADC3
accent
#6ABE74
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9DA371

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

Preview Lab → · Contrast checker → · Palette generator →

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