#9DAF71#9DAF71

#9DAF71 is a light, moderate yellow-green. Relative luminance 0.390; OKLCH L 72.5% C 0.087 H 121.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#9DAF71
RGBrgb(157, 175, 113)
HSLhsl(77, 28%, 56%)
HSVhsv(77, 35%, 69%)
CMYKcmyk(10.3%, 0%, 35.4%, 31.4%)
CIE-LABlab(68.77, -16.76, 29.77)
CIE-LCHlch(68.77, 34.16, 119.38°)
OKLaboklab(72.48% -0.0456 0.0737)
OKLCHoklch(72.48% 0.087 121.8)
XYZxyz(32.2151, 39.0203, 21.4541)
Luminance0.3902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF71 #8371AF
analogous
#AFA271 #9DAF71 #7EAF71
triadic
#9DAF71 #719DAF #AF719D
tetradic
#9DAF71 #71AFA2 #8371AF #AF717E
square
#9DAF71 #71AFA2 #8371AF #AF717E
split-complementary
#9DAF71 #717EAF #A271AF
monochromatic
#5C6A3C #7F9152 #9DAF71 #B8C598 #D3DBBF

Accessibility & contrast

On white

2.39
#9DAF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#9DAF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF71
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF71#FFFFFF#000000##000000
##9DAF711.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86D
Deuteranopia (green-blind)
#B4A874
Tritanopia (blue-blind)
#A2A99F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9daf71;
/* rgb */ color: rgb(157, 175, 113);
/* oklch */ color: oklch(72.5% 0.087 121.8);
Tailwind
colors: {
  custom: {
    50: '#bac69a',
    500: '#9daf71',
    950: '#000000',
  },
}
SCSS
$custom: #9daf71;
$custom-light: #bac69a;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf71",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 77.419,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72484,
    "c": 0.08663,
    "h": 121.8
  },
  "luminance": 0.3902
}

Semantic roles & 50–950 ramp

primary
#9DAF71
secondary
#B9B1CB
accent
#64C480
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9DAF71

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

Preview Lab → · Contrast checker → · Palette generator →

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