#9DAF4D#9DAF4D

#9DAF4D is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.9% C 0.126 H 118.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#9DAF4D
RGBrgb(157, 175, 77)
HSLhsl(71, 39%, 49%)
HSVhsv(71, 56%, 69%)
CMYKcmyk(10.3%, 0%, 56%, 31.4%)
CIE-LABlab(68.29, -20.72, 47.31)
CIE-LCHlch(68.29, 51.65, 113.65°)
OKLaboklab(71.95% -0.0596 0.1104)
OKLCHoklch(71.95% 0.126 118.4)
XYZxyz(30.5746, 38.3641, 12.8141)
Luminance0.3836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF4D #5F4DAF
analogous
#AF904D #9DAF4D #6CAF4D
triadic
#9DAF4D #4D9DAF #AF4D9D
tetradic
#9DAF4D #4DAF90 #5F4DAF #AF4D6C
square
#9DAF4D #4DAF90 #5F4DAF #AF4D6C
split-complementary
#9DAF4D #4D6CAF #904DAF
monochromatic
#515A28 #77853A #9DAF4D #B5C376 #CCD6A1

Accessibility & contrast

On white

2.42
#9DAF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#9DAF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF4D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF4D#FFFFFF#000000##000000
##9DAF4D1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A643
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#A5A699
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf4d;
/* rgb */ color: rgb(157, 175, 77);
/* oklch */ color: oklch(71.9% 0.126 118.4);
Tailwind
colors: {
  custom: {
    50: '#bcc682',
    500: '#9daf4d',
    950: '#000000',
  },
}
SCSS
$custom: #9daf4d;
$custom-light: #bcc682;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf4d",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 71.02,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71946,
    "c": 0.1255,
    "h": 118.4
  },
  "luminance": 0.38364
}

Semantic roles & 50–950 ramp

primary
#9DAF4D
secondary
#9E95C3
accent
#59CF6F
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9DAF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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