#9DA873#9DA873

#9DA873 is a light, moderate yellow-green. Relative luminance 0.364; OKLCH L 71.0% C 0.074 H 117.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9DA873
RGBrgb(157, 168, 115)
HSLhsl(72, 23%, 55%)
HSVhsv(72, 32%, 66%)
CMYKcmyk(6.5%, 0%, 31.5%, 34.1%)
CIE-LABlab(66.83, -12.86, 26.15)
CIE-LCHlch(66.83, 29.14, 116.18°)
OKLaboklab(70.95% -0.0345 0.0652)
OKLCHoklch(70.95% 0.074 117.9)
XYZxyz(31.0017, 36.4113, 21.6112)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA873 #7E73A8
analogous
#A89873 #9DA873 #82A873
triadic
#9DA873 #739DA8 #A8739D
tetradic
#9DA873 #73A898 #7E73A8 #A87382
square
#9DA873 #73A898 #7E73A8 #A87382
split-complementary
#9DA873 #7382A8 #9873A8
monochromatic
#5B633E #7E8955 #9DA873 #B7BF99 #D2D7BE

Accessibility & contrast

On white

2.54
#9DA873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#9DA873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA873
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA873#FFFFFF#000000##000000
##9DA8731.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26F
Deuteranopia (green-blind)
#AEA375
Tritanopia (blue-blind)
#A2A29A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9da873;
/* rgb */ color: rgb(157, 168, 115);
/* oklch */ color: oklch(71.0% 0.074 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac19b',
    500: '#9da873',
    950: '#000000',
  },
}
SCSS
$custom: #9da873;
$custom-light: #bac19b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da873",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 115
  },
  "hsl": {
    "h": 72.453,
    "s": 23.348,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70953,
    "c": 0.07379,
    "h": 117.9
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#9DA873
secondary
#B5B0C6
accent
#68C07A
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9DA873

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

Preview Lab → · Contrast checker → · Palette generator →

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