#9FA55D#9FA55D

#9FA55D is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.095 H 112.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA55D
RGBrgb(159, 165, 93)
HSLhsl(65, 29%, 51%)
HSVhsv(65, 44%, 65%)
CMYKcmyk(3.6%, 0%, 43.6%, 35.3%)
CIE-LABlab(65.80, -13.20, 36.49)
CIE-LCHlch(65.80, 38.80, 109.89°)
OKLaboklab(70.06% -0.0369 0.0881)
OKLCHoklch(70.06% 0.095 112.7)
XYZxyz(29.7294, 35.0720, 15.5572)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA55D #635DA5
analogous
#A5875D #9FA55D #7BA55D
triadic
#9FA55D #5D9FA5 #A55D9F
tetradic
#9FA55D #5DA587 #635DA5 #A55D7B
square
#9FA55D #5DA587 #635DA5 #A55D7B
split-complementary
#9FA55D #5D7BA5 #875DA5
monochromatic
#545730 #7A7F46 #9FA55D #B6BB84 #CED1AC

Accessibility & contrast

On white

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

On black

8.01
#9FA55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA55D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA55D#FFFFFF#000000##000000
##9FA55D1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F57
Deuteranopia (green-blind)
#AFA160
Tritanopia (blue-blind)
#A79D94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa55d;
/* rgb */ color: rgb(159, 165, 93);
/* oklch */ color: oklch(70.1% 0.095 112.7);
Tailwind
colors: {
  custom: {
    50: '#bcbf8c',
    500: '#9fa55d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa55d;
$custom-light: #bcbf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa55d",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 93
  },
  "hsl": {
    "h": 65,
    "s": 28.571,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.09548,
    "h": 112.7
  },
  "luminance": 0.35072
}

Semantic roles & 50–950 ramp

primary
#9FA55D
secondary
#A29FBF
accent
#63C56B
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA55D

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

Preview Lab → · Contrast checker → · Palette generator →

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