#9FAC50#9FAC50

#9FAC50 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.118 H 116.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9FAC50
RGBrgb(159, 172, 80)
HSLhsl(68, 37%, 49%)
HSVhsv(68, 53%, 67%)
CMYKcmyk(7.6%, 0%, 53.5%, 32.5%)
CIE-LABlab(67.62, -18.11, 45.16)
CIE-LCHlch(67.62, 48.65, 111.85°)
OKLaboklab(71.46% -0.0521 0.1061)
OKLCHoklch(71.46% 0.118 116.2)
XYZxyz(30.4990, 37.4555, 13.2108)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC50 #5D50AC
analogous
#AC8B50 #9FAC50 #71AC50
triadic
#9FAC50 #509FAC #AC509F
tetradic
#9FAC50 #50AC8B #5D50AC #AC5071
square
#9FAC50 #50AC8B #5D50AC #AC5071
split-complementary
#9FAC50 #5071AC #8B50AC
monochromatic
#525829 #78823D #9FAC50 #B6C179 #CDD4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC50#FFFFFF#000000##000000
##9FAC501.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)
#B6A447
Deuteranopia (green-blind)
#B5A555
Tritanopia (blue-blind)
#A8A397
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fac50;
/* rgb */ color: rgb(159, 172, 80);
/* oklch */ color: oklch(71.5% 0.118 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc484',
    500: '#9fac50',
    950: '#000000',
  },
}
SCSS
$custom: #9fac50;
$custom-light: #bdc484;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac50",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 80
  },
  "hsl": {
    "h": 68.478,
    "s": 36.508,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.11817,
    "h": 116.2
  },
  "luminance": 0.37455
}

Semantic roles & 50–950 ramp

primary
#9FAC50
secondary
#9D97C1
accent
#5BCD6B
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC50

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

Preview Lab → · Contrast checker → · Palette generator →

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