#9FA55A#9FA55A

#9FA55A is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.0% C 0.099 H 112.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9FA55A
RGBrgb(159, 165, 90)
HSLhsl(65, 29%, 50%)
HSVhsv(65, 45%, 65%)
CMYKcmyk(3.6%, 0%, 45.5%, 35.3%)
CIE-LABlab(65.76, -13.52, 37.98)
CIE-LCHlch(65.76, 40.31, 109.60°)
OKLaboklab(70.01% -0.0381 0.0912)
OKLCHoklch(70.01% 0.099 112.7)
XYZxyz(29.5991, 35.0199, 14.8711)
Luminance0.3502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA55A #605AA5
analogous
#A5865A #9FA55A #79A55A
triadic
#9FA55A #5A9FA5 #A55A9F
tetradic
#9FA55A #5AA586 #605AA5 #A55A79
square
#9FA55A #5AA586 #605AA5 #A55A79
split-complementary
#9FA55A #5A79A5 #865AA5
monochromatic
#53562F #797D44 #9FA55A #B6BB82 #CDD0A9

Accessibility & contrast

On white

2.62
#9FA55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9FA55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA55A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA55A#FFFFFF#000000##000000
##9FA55A1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F54
Deuteranopia (green-blind)
#AFA15E
Tritanopia (blue-blind)
#A79D93
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa55a;
/* rgb */ color: rgb(159, 165, 90);
/* oklch */ color: oklch(70.0% 0.099 112.7);
Tailwind
colors: {
  custom: {
    50: '#bdbf8a',
    500: '#9fa55a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa55a;
$custom-light: #bdbf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa55a",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 90
  },
  "hsl": {
    "h": 64.8,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.70014,
    "c": 0.09882,
    "h": 112.7
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

primary
#9FA55A
secondary
#9F9DBE
accent
#62C66A
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA55A

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

Preview Lab → · Contrast checker → · Palette generator →

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