#9FA770#9FA770

#9FA770 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.076 H 115.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9FA770
RGBrgb(159, 167, 112)
HSLhsl(69, 24%, 55%)
HSVhsv(69, 33%, 65%)
CMYKcmyk(4.8%, 0%, 32.9%, 34.5%)
CIE-LABlab(66.66, -11.95, 27.56)
CIE-LCHlch(66.66, 30.04, 113.44°)
OKLaboklab(70.83% -0.0321 0.0685)
OKLCHoklch(70.83% 0.076 115.1)
XYZxyz(31.0414, 36.1785, 20.6740)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA770 #7870A7
analogous
#A79470 #9FA770 #84A770
triadic
#9FA770 #709FA7 #A7709F
tetradic
#9FA770 #70A794 #7870A7 #A77084
square
#9FA770 #70A794 #7870A7 #A77084
split-complementary
#9FA770 #7084A7 #9470A7
monochromatic
#5C613C #7F8753 #9FA770 #B8BE96 #D2D6BC

Accessibility & contrast

On white

2.55
#9FA770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9FA770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA770
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA770#FFFFFF#000000##000000
##9FA7701.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA26C
Deuteranopia (green-blind)
#AEA372
Tritanopia (blue-blind)
#A5A199
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa770;
/* rgb */ color: rgb(159, 167, 112);
/* oklch */ color: oklch(70.8% 0.076 115.1);
Tailwind
colors: {
  custom: {
    50: '#bcc199',
    500: '#9fa770',
    950: '#000000',
  },
}
SCSS
$custom: #9fa770;
$custom-light: #bcc199;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa770",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 112
  },
  "hsl": {
    "h": 68.727,
    "s": 23.81,
    "l": 54.706
  },
  "oklch": {
    "l": 0.70833,
    "c": 0.0756,
    "h": 115.1
  },
  "luminance": 0.36178
}

Semantic roles & 50–950 ramp

primary
#9FA770
secondary
#B1AEC5
accent
#68C074
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9FA770

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

Preview Lab → · Contrast checker → · Palette generator →

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