#9FAC5A#9FAC5A

#9FAC5A is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.108 H 116.6°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#9FAC5A
RGBrgb(159, 172, 90)
HSLhsl(70, 33%, 51%)
HSVhsv(70, 48%, 67%)
CMYKcmyk(7.6%, 0%, 47.7%, 32.5%)
CIE-LABlab(67.74, -17.14, 40.39)
CIE-LCHlch(67.74, 43.87, 113.00°)
OKLaboklab(71.59% -0.0484 0.0965)
OKLCHoklch(71.59% 0.108 116.6)
XYZxyz(30.8964, 37.6145, 15.3036)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC5A #675AAC
analogous
#AC905A #9FAC5A #76AC5A
triadic
#9FAC5A #5A9FAC #AC5A9F
tetradic
#9FAC5A #5AAC90 #675AAC #AC5A76
square
#9FAC5A #5AAC90 #675AAC #AC5A76
split-complementary
#9FAC5A #5A76AC #905AAC
monochromatic
#565D2F #7B8643 #9FAC5A #B7C083 #CED5AB

Accessibility & contrast

On white

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

On black

8.52
#9FAC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC5A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC5A#FFFFFF#000000##000000
##9FAC5A1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac5a;
/* rgb */ color: rgb(159, 172, 90);
/* oklch */ color: oklch(71.6% 0.108 116.6);
Tailwind
colors: {
  custom: {
    50: '#bdc48a',
    500: '#9fac5a',
    950: '#000000',
  },
}
SCSS
$custom: #9fac5a;
$custom-light: #bdc48a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac5a",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 90
  },
  "hsl": {
    "h": 69.512,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71589,
    "c": 0.10797,
    "h": 116.6
  },
  "luminance": 0.37614
}

Semantic roles & 50–950 ramp

primary
#9FAC5A
secondary
#A59FC3
accent
#5FC970
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FAC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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