#9FAC4E#9FAC4E

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

Color values

HEX#9FAC4E
RGBrgb(159, 172, 78)
HSLhsl(68, 38%, 49%)
HSVhsv(68, 55%, 67%)
CMYKcmyk(7.6%, 0%, 54.7%, 32.5%)
CIE-LABlab(67.60, -18.29, 46.09)
CIE-LCHlch(67.60, 49.58, 111.65°)
OKLaboklab(71.43% -0.0528 0.1079)
OKLCHoklch(71.43% 0.12 116.1)
XYZxyz(30.4262, 37.4264, 12.8274)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC4E #5B4EAC
analogous
#AC8A4E #9FAC4E #70AC4E
triadic
#9FAC4E #4E9FAC #AC4E9F
tetradic
#9FAC4E #4EAC8A #5B4EAC #AC4E70
square
#9FAC4E #4EAC8A #5B4EAC #AC4E70
split-complementary
#9FAC4E #4E70AC #8A4EAC
monochromatic
#515828 #78823B #9FAC4E #B7C176 #CDD4A0

Accessibility & contrast

On white

2.47
#9FAC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9FAC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC4E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC4E#FFFFFF#000000##000000
##9FAC4E1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac4e;
/* rgb */ color: rgb(159, 172, 78);
/* oklch */ color: oklch(71.4% 0.120 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc482',
    500: '#9fac4e',
    950: '#000000',
  },
}
SCSS
$custom: #9fac4e;
$custom-light: #bdc482;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac4e",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 68.298,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.12009,
    "h": 116.1
  },
  "luminance": 0.37426
}

Semantic roles & 50–950 ramp

primary
#9FAC4E
secondary
#9B95C1
accent
#5ACE6A
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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