#9FAC4A#9FAC4A

#9FAC4A is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.4% C 0.124 H 115.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#9FAC4A
RGBrgb(159, 172, 74)
HSLhsl(68, 40%, 48%)
HSVhsv(68, 57%, 67%)
CMYKcmyk(7.6%, 0%, 57%, 32.5%)
CIE-LABlab(67.55, -18.63, 47.92)
CIE-LCHlch(67.55, 51.41, 111.25°)
OKLaboklab(71.39% -0.0542 0.1114)
OKLCHoklch(71.39% 0.124 115.9)
XYZxyz(30.2872, 37.3708, 12.0950)
Luminance0.3737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC4A #574AAC
analogous
#AC884A #9FAC4A #6EAC4A
triadic
#9FAC4A #4A9FAC #AC4A9F
tetradic
#9FAC4A #4AAC88 #574AAC #AC4A6E
square
#9FAC4A #4AAC88 #574AAC #AC4A6E
split-complementary
#9FAC4A #4A6EAC #884AAC
monochromatic
#505625 #778138 #9FAC4A #B7C271 #CDD49C

Accessibility & contrast

On white

2.48
#9FAC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9FAC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC4A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC4A#FFFFFF#000000##000000
##9FAC4A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A440
Deuteranopia (green-blind)
#B6A550
Tritanopia (blue-blind)
#A8A397
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac4a;
/* rgb */ color: rgb(159, 172, 74);
/* oklch */ color: oklch(71.4% 0.124 115.9);
Tailwind
colors: {
  custom: {
    50: '#bdc480',
    500: '#9fac4a',
    950: '#000000',
  },
}
SCSS
$custom: #9fac4a;
$custom-light: #bdc480;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac4a",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 67.959,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71385,
    "c": 0.12385,
    "h": 115.9
  },
  "luminance": 0.3737
}

Semantic roles & 50–950 ramp

primary
#9FAC4A
secondary
#9791C1
accent
#58D068
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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