#9FAC5D#9FAC5D

#9FAC5D is a light, moderate yellow. Relative luminance 0.377; OKLCH L 71.6% C 0.105 H 116.8°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#9FAC5D
RGBrgb(159, 172, 93)
HSLhsl(70, 32%, 52%)
HSVhsv(70, 46%, 67%)
CMYKcmyk(7.6%, 0%, 45.9%, 32.5%)
CIE-LABlab(67.77, -16.82, 38.92)
CIE-LCHlch(67.77, 42.40, 113.38°)
OKLaboklab(71.63% -0.0472 0.0935)
OKLCHoklch(71.63% 0.105 116.8)
XYZxyz(31.0267, 37.6666, 15.9897)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC5D #6A5DAC
analogous
#AC915D #9FAC5D #78AC5D
triadic
#9FAC5D #5D9FAC #AC5D9F
tetradic
#9FAC5D #5DAC91 #6A5DAC #AC5D78
square
#9FAC5D #5DAC91 #6A5DAC #AC5D78
split-complementary
#9FAC5D #5D78AC #915DAC
monochromatic
#575E30 #7C8745 #9FAC5D #B7C185 #CFD5AE

Accessibility & contrast

On white

2.46
#9FAC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#9FAC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC5D
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC5D#FFFFFF#000000##000000
##9FAC5D1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A556
Deuteranopia (green-blind)
#B4A661
Tritanopia (blue-blind)
#A7A499
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fac5d;
/* rgb */ color: rgb(159, 172, 93);
/* oklch */ color: oklch(71.6% 0.105 116.8);
Tailwind
colors: {
  custom: {
    50: '#bdc48c',
    500: '#9fac5d',
    950: '#000000',
  },
}
SCSS
$custom: #9fac5d;
$custom-light: #bdc48c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac5d",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 93
  },
  "hsl": {
    "h": 69.873,
    "s": 32.245,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71632,
    "c": 0.10474,
    "h": 116.8
  },
  "luminance": 0.37666
}

Semantic roles & 50–950 ramp

primary
#9FAC5D
secondary
#A7A1C4
accent
#5FC871
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FAC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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