#9FA960#9FA960

#9FA960 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.0% C 0.097 H 115.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9FA960
RGBrgb(159, 169, 96)
HSLhsl(68, 30%, 52%)
HSVhsv(68, 43%, 66%)
CMYKcmyk(5.9%, 0%, 43.2%, 33.7%)
CIE-LABlab(66.97, -14.95, 36.39)
CIE-LCHlch(66.97, 39.34, 112.33°)
OKLaboklab(71% -0.0416 0.088)
OKLCHoklch(71% 0.097 115.3)
XYZxyz(30.5976, 36.5917, 16.5151)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA960 #6A60A9
analogous
#A98F60 #9FA960 #7BA960
triadic
#9FA960 #609FA9 #A9609F
tetradic
#9FA960 #60A98F #6A60A9 #A9607B
square
#9FA960 #60A98F #6A60A9 #A9607B
split-complementary
#9FA960 #607BA9 #8F60A9
monochromatic
#575D32 #7C8448 #9FA960 #B7BE88 #CFD4AF

Accessibility & contrast

On white

2.52
#9FA960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9FA960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA960
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA960#FFFFFF#000000##000000
##9FA9601.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25A
Deuteranopia (green-blind)
#B1A464
Tritanopia (blue-blind)
#A7A297
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fa960;
/* rgb */ color: rgb(159, 169, 96);
/* oklch */ color: oklch(71.0% 0.097 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc28e',
    500: '#9fa960',
    950: '#000000',
  },
}
SCSS
$custom: #9fa960;
$custom-light: #bcc28e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa960",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 68.219,
    "s": 29.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71003,
    "c": 0.09738,
    "h": 115.3
  },
  "luminance": 0.36591
}

Semantic roles & 50–950 ramp

primary
#9FA960
secondary
#A7A2C2
accent
#62C66F
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA960

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

Preview Lab → · Contrast checker → · Palette generator →

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