#9FA050#9FA050

#9FA050 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.103 H 109.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9FA050
RGBrgb(159, 160, 80)
HSLhsl(61, 33%, 47%)
HSVhsv(61, 50%, 63%)
CMYKcmyk(0.6%, 0%, 50%, 37.3%)
CIE-LABlab(64.24, -11.90, 41.18)
CIE-LCHlch(64.24, 42.86, 106.12°)
OKLaboklab(68.76% -0.0344 0.0974)
OKLCHoklch(68.76% 0.103 109.5)
XYZxyz(28.3175, 33.0924, 12.4836)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA050 #5150A0
analogous
#A07950 #9FA050 #77A050
triadic
#9FA050 #509FA0 #A0509F
tetradic
#9FA050 #50A079 #5150A0 #A05077
square
#9FA050 #50A079 #5150A0 #A05077
split-complementary
#9FA050 #5077A0 #7950A0
monochromatic
#4E4E27 #76773C #9FA050 #B9B974 #CDCE9D

Accessibility & contrast

On white

2.76
#9FA050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9FA050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA050
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA050#FFFFFF#000000##000000
##9FA0501.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A49
Deuteranopia (green-blind)
#AC9D54
Tritanopia (blue-blind)
#A8988E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa050;
/* rgb */ color: rgb(159, 160, 80);
/* oklch */ color: oklch(68.8% 0.103 109.5);
Tailwind
colors: {
  custom: {
    50: '#bdbc83',
    500: '#9fa050',
    950: '#000000',
  },
}
SCSS
$custom: #9fa050;
$custom-light: #bdbc83;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa050",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 80
  },
  "hsl": {
    "h": 60.75,
    "s": 33.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68755,
    "c": 0.10333,
    "h": 109.5
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#9FA050
secondary
#9291BB
accent
#5EC960
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9FA050

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

Preview Lab → · Contrast checker → · Palette generator →

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