#9FA150#9FA150

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

Color values

HEX#9FA150
RGBrgb(159, 161, 80)
HSLhsl(61, 34%, 47%)
HSVhsv(61, 50%, 63%)
CMYKcmyk(1.2%, 0%, 50.3%, 36.9%)
CIE-LABlab(64.52, -12.42, 41.51)
CIE-LCHlch(64.52, 43.33, 106.66°)
OKLaboklab(68.98% -0.0359 0.0982)
OKLCHoklch(68.98% 0.105 110.1)
XYZxyz(28.4915, 33.4405, 12.5416)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA150 #5250A1
analogous
#A17A50 #9FA150 #77A150
triadic
#9FA150 #509FA1 #A1509F
tetradic
#9FA150 #50A17A #5250A1 #A15077
square
#9FA150 #50A17A #5250A1 #A15077
split-complementary
#9FA150 #5077A1 #7A50A1
monochromatic
#4E4F27 #77783C #9FA150 #B8BA74 #CDCE9D

Accessibility & contrast

On white

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

On black

7.69
#9FA150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA150
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA150#FFFFFF#000000##000000
##9FA1501.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B49
Deuteranopia (green-blind)
#AD9E54
Tritanopia (blue-blind)
#A8998E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa150;
/* rgb */ color: rgb(159, 161, 80);
/* oklch */ color: oklch(69.0% 0.105 110.1);
Tailwind
colors: {
  custom: {
    50: '#bdbc83',
    500: '#9fa150',
    950: '#000000',
  },
}
SCSS
$custom: #9fa150;
$custom-light: #bdbc83;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa150",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 80
  },
  "hsl": {
    "h": 61.481,
    "s": 33.61,
    "l": 47.255
  },
  "oklch": {
    "l": 0.68978,
    "c": 0.10453,
    "h": 110.1
  },
  "luminance": 0.3344
}

Semantic roles & 50–950 ramp

primary
#9FA150
secondary
#9392BB
accent
#5ECA61
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA150

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

Preview Lab → · Contrast checker → · Palette generator →

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