#9FA154#9FA154

#9FA154 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.100 H 110.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9FA154
RGBrgb(159, 161, 84)
HSLhsl(62, 31%, 48%)
HSVhsv(62, 48%, 63%)
CMYKcmyk(1.2%, 0%, 47.8%, 36.9%)
CIE-LABlab(64.56, -12.04, 39.56)
CIE-LCHlch(64.56, 41.35, 106.93°)
OKLaboklab(69.03% -0.0344 0.0942)
OKLCHoklch(69.03% 0.1 110.1)
XYZxyz(28.6437, 33.5014, 13.3433)
Luminance0.3350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA154 #5654A1
analogous
#A17C54 #9FA154 #78A154
triadic
#9FA154 #549FA1 #A1549F
tetradic
#9FA154 #54A17C #5654A1 #A15478
square
#9FA154 #54A17C #5654A1 #A15478
split-complementary
#9FA154 #5478A1 #7C54A1
monochromatic
#50512A #77793F #9FA154 #B7B979 #CDCEA1

Accessibility & contrast

On white

2.73
#9FA154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9FA154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA154
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA154#FFFFFF#000000##000000
##9FA1541.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9B4D
Deuteranopia (green-blind)
#AC9E58
Tritanopia (blue-blind)
#A8998F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa154;
/* rgb */ color: rgb(159, 161, 84);
/* oklch */ color: oklch(69.0% 0.100 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdbc86',
    500: '#9fa154',
    950: '#000000',
  },
}
SCSS
$custom: #9fa154;
$custom-light: #bdbc86;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa154",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 61.558,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.10033,
    "h": 110.1
  },
  "luminance": 0.33501
}

Semantic roles & 50–950 ramp

primary
#9FA154
secondary
#9695BB
accent
#60C863
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA154

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

Preview Lab → · Contrast checker → · Palette generator →

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