#9FA757#9FA757

#9FA757 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.4% C 0.105 H 113.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9FA757
RGBrgb(159, 167, 87)
HSLhsl(66, 31%, 50%)
HSVhsv(66, 48%, 65%)
CMYKcmyk(4.8%, 0%, 47.9%, 34.5%)
CIE-LABlab(66.29, -14.87, 40.13)
CIE-LCHlch(66.29, 42.80, 110.33°)
OKLaboklab(70.42% -0.0422 0.0957)
OKLCHoklch(70.42% 0.105 113.8)
XYZxyz(29.8375, 35.6969, 14.3334)
Luminance0.3570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA757 #5F57A7
analogous
#A78757 #9FA757 #77A757
triadic
#9FA757 #579FA7 #A7579F
tetradic
#9FA757 #57A787 #5F57A7 #A75777
square
#9FA757 #57A787 #5F57A7 #A75777
split-complementary
#9FA757 #5777A7 #8757A7
monochromatic
#52572D #797F42 #9FA757 #B6BC7F #CDD1A7

Accessibility & contrast

On white

2.58
#9FA757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9FA757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA757
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA757#FFFFFF#000000##000000
##9FA7571.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A050
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#A79F94
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa757;
/* rgb */ color: rgb(159, 167, 87);
/* oklch */ color: oklch(70.4% 0.105 113.8);
Tailwind
colors: {
  custom: {
    50: '#bdc188',
    500: '#9fa757',
    950: '#000000',
  },
}
SCSS
$custom: #9fa757;
$custom-light: #bdc188;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa757",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 87
  },
  "hsl": {
    "h": 66,
    "s": 31.496,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7042,
    "c": 0.10463,
    "h": 113.8
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#9FA757
secondary
#9E9BBF
accent
#60C86A
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA757

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

Preview Lab → · Contrast checker → · Palette generator →

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