#9FAC51#9FAC51

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

Color values

HEX#9FAC51
RGBrgb(159, 172, 81)
HSLhsl(69, 36%, 50%)
HSVhsv(69, 53%, 67%)
CMYKcmyk(7.6%, 0%, 52.9%, 32.5%)
CIE-LABlab(67.63, -18.02, 44.69)
CIE-LCHlch(67.63, 48.18, 111.96°)
OKLaboklab(71.47% -0.0517 0.1052)
OKLCHoklch(71.47% 0.117 116.2)
XYZxyz(30.5363, 37.4704, 13.4069)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC51 #5E51AC
analogous
#AC8B51 #9FAC51 #72AC51
triadic
#9FAC51 #519FAC #AC519F
tetradic
#9FAC51 #51AC8B #5E51AC #AC5172
square
#9FAC51 #51AC8B #5E51AC #AC5172
split-complementary
#9FAC51 #5172AC #8B51AC
monochromatic
#52592A #79823D #9FAC51 #B6C07A #CDD4A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC51#FFFFFF#000000##000000
##9FAC511.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)
#B6A448
Deuteranopia (green-blind)
#B5A556
Tritanopia (blue-blind)
#A7A498
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fac51;
/* rgb */ color: rgb(159, 172, 81);
/* oklch */ color: oklch(71.5% 0.117 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc484',
    500: '#9fac51',
    950: '#000000',
  },
}
SCSS
$custom: #9fac51;
$custom-light: #bdc484;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac51",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 68.571,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71468,
    "c": 0.11718,
    "h": 116.2
  },
  "luminance": 0.3747
}

Semantic roles & 50–950 ramp

primary
#9FAC51
secondary
#9E98C1
accent
#5CCC6C
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC51

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

Preview Lab → · Contrast checker → · Palette generator →

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