#9FA457#9FA457

#9FA457 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.101 H 112.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9FA457
RGBrgb(159, 164, 87)
HSLhsl(64, 31%, 49%)
HSVhsv(64, 47%, 64%)
CMYKcmyk(3%, 0%, 47%, 35.7%)
CIE-LABlab(65.44, -13.31, 39.11)
CIE-LCHlch(65.44, 41.31, 108.80°)
OKLaboklab(69.75% -0.0378 0.0935)
OKLCHoklch(69.75% 0.101 112)
XYZxyz(29.2943, 34.6105, 14.1523)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA457 #5C57A4
analogous
#A48357 #9FA457 #79A457
triadic
#9FA457 #579FA4 #A4579F
tetradic
#9FA457 #57A483 #5C57A4 #A45779
square
#9FA457 #57A483 #5C57A4 #A45779
split-complementary
#9FA457 #5779A4 #8357A4
monochromatic
#51542D #787C42 #9FA457 #B7BA7E #CDD0A6

Accessibility & contrast

On white

2.65
#9FA457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9FA457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA457
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA457#FFFFFF#000000##000000
##9FA4571.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E50
Deuteranopia (green-blind)
#AEA05B
Tritanopia (blue-blind)
#A89C92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa457;
/* rgb */ color: rgb(159, 164, 87);
/* oklch */ color: oklch(69.7% 0.101 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbe88',
    500: '#9fa457',
    950: '#000000',
  },
}
SCSS
$custom: #9fa457;
$custom-light: #bdbe88;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa457",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 63.896,
    "s": 30.677,
    "l": 49.216
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.10082,
    "h": 112
  },
  "luminance": 0.3461
}

Semantic roles & 50–950 ramp

primary
#9FA457
secondary
#9C99BD
accent
#61C768
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA457

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

Preview Lab → · Contrast checker → · Palette generator →

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