#9FAC54#9FAC54

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

Color values

HEX#9FAC54
RGBrgb(159, 172, 84)
HSLhsl(69, 35%, 50%)
HSVhsv(69, 51%, 67%)
CMYKcmyk(7.6%, 0%, 51.2%, 32.5%)
CIE-LABlab(67.66, -17.74, 43.27)
CIE-LCHlch(67.66, 46.76, 112.29°)
OKLaboklab(71.51% -0.0506 0.1024)
OKLCHoklch(71.51% 0.114 116.3)
XYZxyz(30.6512, 37.5164, 14.0125)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC54 #6154AC
analogous
#AC8D54 #9FAC54 #73AC54
triadic
#9FAC54 #549FAC #AC549F
tetradic
#9FAC54 #54AC8D #6154AC #AC5473
square
#9FAC54 #54AC8D #6154AC #AC5473
split-complementary
#9FAC54 #5473AC #8D54AC
monochromatic
#535A2C #798340 #9FAC54 #B6C07D #CDD4A6

Accessibility & contrast

On white

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

On black

8.50
#9FAC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC54
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC54#FFFFFF#000000##000000
##9FAC541.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44C
Deuteranopia (green-blind)
#B5A559
Tritanopia (blue-blind)
#A7A498
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fac54;
/* rgb */ color: rgb(159, 172, 84);
/* oklch */ color: oklch(71.5% 0.114 116.3);
Tailwind
colors: {
  custom: {
    50: '#bdc486',
    500: '#9fac54',
    950: '#000000',
  },
}
SCSS
$custom: #9fac54;
$custom-light: #bdc486;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac54",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 84
  },
  "hsl": {
    "h": 68.864,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71507,
    "c": 0.11419,
    "h": 116.3
  },
  "luminance": 0.37516
}

Semantic roles & 50–950 ramp

primary
#9FAC54
secondary
#A09AC2
accent
#5DCB6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC54

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

Preview Lab → · Contrast checker → · Palette generator →

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