#9FA158#9FA158

#9FA158 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.096 H 110.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9FA158
RGBrgb(159, 161, 88)
HSLhsl(62, 29%, 49%)
HSVhsv(62, 45%, 63%)
CMYKcmyk(1.2%, 0%, 45.3%, 36.9%)
CIE-LABlab(64.62, -11.63, 37.59)
CIE-LCHlch(64.62, 39.35, 107.20°)
OKLaboklab(69.09% -0.0329 0.0902)
OKLCHoklch(69.09% 0.096 110)
XYZxyz(28.8049, 33.5658, 14.1921)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA158 #5A58A1
analogous
#A17F58 #9FA158 #7BA158
triadic
#9FA158 #589FA1 #A1589F
tetradic
#9FA158 #58A17F #5A58A1 #A1587B
square
#9FA158 #58A17F #5A58A1 #A1587B
split-complementary
#9FA158 #587BA1 #7F58A1
monochromatic
#51522D #787942 #9FA158 #B7B87E #CDCEA5

Accessibility & contrast

On white

2.72
#9FA158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9FA158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA158
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA158#FFFFFF#000000##000000
##9FA1581.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B52
Deuteranopia (green-blind)
#AC9E5B
Tritanopia (blue-blind)
#A89990
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa158;
/* rgb */ color: rgb(159, 161, 88);
/* oklch */ color: oklch(69.1% 0.096 110.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc89',
    500: '#9fa158',
    950: '#000000',
  },
}
SCSS
$custom: #9fa158;
$custom-light: #bdbc89;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa158",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 61.644,
    "s": 29.317,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.09598,
    "h": 110
  },
  "luminance": 0.33565
}

Semantic roles & 50–950 ramp

primary
#9FA158
secondary
#9A99BC
accent
#62C665
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA158

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

Preview Lab → · Contrast checker → · Palette generator →

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