#9FA56E#9FA56E

#9FA56E is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.4% C 0.075 H 113.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9FA56E
RGBrgb(159, 165, 110)
HSLhsl(67, 23%, 54%)
HSVhsv(67, 33%, 65%)
CMYKcmyk(3.6%, 0%, 33.3%, 35.3%)
CIE-LABlab(66.06, -11.16, 27.85)
CIE-LCHlch(66.06, 30.01, 111.83°)
OKLaboklab(70.35% -0.0299 0.0691)
OKLCHoklch(70.35% 0.075 113.4)
XYZxyz(30.5678, 35.4073, 19.9728)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA56E #746EA5
analogous
#A5906E #9FA56E #84A56E
triadic
#9FA56E #6E9FA5 #A56E9F
tetradic
#9FA56E #6EA590 #746EA5 #A56E84
square
#9FA56E #6EA590 #746EA5 #A56E84
split-complementary
#9FA56E #6E84A5 #906EA5
monochromatic
#5A5E3A #7E8452 #9FA56E #B8BC94 #D1D4BA

Accessibility & contrast

On white

2.60
#9FA56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9FA56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA56E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA56E#FFFFFF#000000##000000
##9FA56E1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA06A
Deuteranopia (green-blind)
#ADA170
Tritanopia (blue-blind)
#A59F97
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa56e;
/* rgb */ color: rgb(159, 165, 110);
/* oklch */ color: oklch(70.4% 0.075 113.4);
Tailwind
colors: {
  custom: {
    50: '#bcbf98',
    500: '#9fa56e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa56e;
$custom-light: #bcbf98;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa56e",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 110
  },
  "hsl": {
    "h": 66.545,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.07529,
    "h": 113.4
  },
  "luminance": 0.35407
}

Semantic roles & 50–950 ramp

primary
#9FA56E
secondary
#AEACC3
accent
#68C072
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA56E

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

Preview Lab → · Contrast checker → · Palette generator →

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