#9FAC56#9FAC56

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

Color values

HEX#9FAC56
RGBrgb(159, 172, 86)
HSLhsl(69, 34%, 51%)
HSVhsv(69, 50%, 67%)
CMYKcmyk(7.6%, 0%, 50%, 32.5%)
CIE-LABlab(67.69, -17.54, 42.32)
CIE-LCHlch(67.69, 45.81, 112.52°)
OKLaboklab(71.53% -0.0499 0.1004)
OKLCHoklch(71.53% 0.112 116.4)
XYZxyz(30.7307, 37.5482, 14.4309)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC56 #6356AC
analogous
#AC8E56 #9FAC56 #74AC56
triadic
#9FAC56 #569FAC #AC569F
tetradic
#9FAC56 #56AC8E #6356AC #AC5674
square
#9FAC56 #56AC8E #6356AC #AC5674
split-complementary
#9FAC56 #5674AC #8E56AC
monochromatic
#545B2D #7A8441 #9FAC56 #B6C07F #CED4A8

Accessibility & contrast

On white

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

On black

8.51
#9FAC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC56
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC56#FFFFFF#000000##000000
##9FAC561.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac56;
/* rgb */ color: rgb(159, 172, 86);
/* oklch */ color: oklch(71.5% 0.112 116.4);
Tailwind
colors: {
  custom: {
    50: '#bdc488',
    500: '#9fac56',
    950: '#000000',
  },
}
SCSS
$custom: #9fac56;
$custom-light: #bdc488;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac56",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 86
  },
  "hsl": {
    "h": 69.07,
    "s": 34.127,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.11215,
    "h": 116.4
  },
  "luminance": 0.37548
}

Semantic roles & 50–950 ramp

primary
#9FAC56
secondary
#A29CC2
accent
#5ECA6E
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAC56

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

Preview Lab → · Contrast checker → · Palette generator →

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