#9CAF71#9CAF71

#9CAF71 is a light, moderate yellow-green. Relative luminance 0.389; OKLCH L 72.4% C 0.087 H 122.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9CAF71
RGBrgb(156, 175, 113)
HSLhsl(78, 28%, 56%)
HSVhsv(78, 35%, 69%)
CMYKcmyk(10.9%, 0%, 35.4%, 31.4%)
CIE-LABlab(68.69, -17.15, 29.66)
CIE-LCHlch(68.69, 34.26, 120.03°)
OKLaboklab(72.41% -0.0467 0.0734)
OKLCHoklch(72.41% 0.087 122.4)
XYZxyz(32.0207, 38.9201, 21.4450)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF71 #8471AF
analogous
#AFA371 #9CAF71 #7DAF71
triadic
#9CAF71 #719CAF #AF719C
tetradic
#9CAF71 #71AFA3 #8471AF #AF717D
square
#9CAF71 #71AFA3 #8471AF #AF717D
split-complementary
#9CAF71 #717DAF #A371AF
monochromatic
#5C6A3C #7E9152 #9CAF71 #B7C598 #D3DBBF

Accessibility & contrast

On white

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

On black

8.78
#9CAF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAF71
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAF71#FFFFFF#000000##000000
##9CAF711.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9caf71;
/* rgb */ color: rgb(156, 175, 113);
/* oklch */ color: oklch(72.4% 0.087 122.4);
Tailwind
colors: {
  custom: {
    50: '#bac69a',
    500: '#9caf71',
    950: '#000000',
  },
}
SCSS
$custom: #9caf71;
$custom-light: #bac69a;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf71",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 113
  },
  "hsl": {
    "h": 78.387,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.72407,
    "c": 0.087,
    "h": 122.4
  },
  "luminance": 0.3892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CAF71

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

Preview Lab → · Contrast checker → · Palette generator →

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