#9DAB4E#9DAB4E

#9DAB4E is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.119 H 116.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9DAB4E
RGBrgb(157, 171, 78)
HSLhsl(69, 37%, 49%)
HSVhsv(69, 54%, 67%)
CMYKcmyk(8.2%, 0%, 54.4%, 32.9%)
CIE-LABlab(67.16, -18.61, 45.54)
CIE-LCHlch(67.16, 49.20, 112.23°)
OKLaboklab(71.05% -0.0536 0.1067)
OKLCHoklch(71.05% 0.119 116.7)
XYZxyz(29.8431, 36.8443, 12.7458)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB4E #5C4EAB
analogous
#AB8B4E #9DAB4E #6FAB4E
triadic
#9DAB4E #4E9DAB #AB4E9D
tetradic
#9DAB4E #4EAB8B #5C4EAB #AB4E6F
square
#9DAB4E #4EAB8B #5C4EAB #AB4E6F
split-complementary
#9DAB4E #4E6FAB #8B4EAB
monochromatic
#505728 #76813B #9DAB4E #B5C076 #CCD4A0

Accessibility & contrast

On white

2.51
#9DAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9DAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB4E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB4E#FFFFFF#000000##000000
##9DAB4E1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A345
Deuteranopia (green-blind)
#B4A453
Tritanopia (blue-blind)
#A5A396
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab4e;
/* rgb */ color: rgb(157, 171, 78);
/* oklch */ color: oklch(71.0% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#bcc482',
    500: '#9dab4e',
    950: '#000000',
  },
}
SCSS
$custom: #9dab4e;
$custom-light: #bcc482;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab4e",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 69.032,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71045,
    "c": 0.11943,
    "h": 116.7
  },
  "luminance": 0.36844
}

Semantic roles & 50–950 ramp

primary
#9DAB4E
secondary
#9B94C1
accent
#5ACD6C
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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