#9FA37D#9FA37D

#9FA37D is a light, muted yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.053 H 112.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9FA37D
RGBrgb(159, 163, 125)
HSLhsl(66, 17%, 56%)
HSVhsv(66, 23%, 64%)
CMYKcmyk(2.5%, 0%, 23.3%, 36.1%)
CIE-LABlab(65.78, -7.99, 19.32)
CIE-LCHlch(65.78, 20.91, 112.46°)
OKLaboklab(70.22% -0.0205 0.049)
OKLCHoklch(70.22% 0.053 112.7)
XYZxyz(31.0967, 35.0462, 24.5245)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA37D #817DA3
analogous
#A3947D #9FA37D #8CA37D
triadic
#9FA37D #7D9FA3 #A37D9F
tetradic
#9FA37D #7DA394 #817DA3 #A37D8C
square
#9FA37D #7DA394 #817DA3 #A37D8C
split-complementary
#9FA37D #7D8CA3 #947DA3
monochromatic
#5E6145 #81855E #9FA37D #B9BCA1 #D4D6C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA37D#FFFFFF#000000##000000
##9FA37D1.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)
#A99F7B
Deuteranopia (green-blind)
#A9A07E
Tritanopia (blue-blind)
#A49E99
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa37d;
/* rgb */ color: rgb(159, 163, 125);
/* oklch */ color: oklch(70.2% 0.053 112.7);
Tailwind
colors: {
  custom: {
    50: '#bbbea2',
    500: '#9fa37d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa37d;
$custom-light: #bbbea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa37d",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 125
  },
  "hsl": {
    "h": 66.316,
    "s": 17.117,
    "l": 56.471
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.05314,
    "h": 112.7
  },
  "luminance": 0.35046
}

Semantic roles & 50–950 ramp

primary
#9FA37D
secondary
#B8B6C6
accent
#6EBA76
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#12120F
muted
#81817F

Preview Lab

Preview with #9FA37D

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

Preview Lab → · Contrast checker → · Palette generator →

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