#9FA45C#9FA45C

#9FA45C is a light, moderate yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.095 H 112.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9FA45C
RGBrgb(159, 164, 92)
HSLhsl(64, 28%, 50%)
HSVhsv(64, 44%, 64%)
CMYKcmyk(3%, 0%, 43.9%, 35.7%)
CIE-LABlab(65.51, -12.79, 36.64)
CIE-LCHlch(65.51, 38.80, 109.24°)
OKLaboklab(69.82% -0.0358 0.0883)
OKLCHoklch(69.82% 0.095 112.1)
XYZxyz(29.5057, 34.6950, 15.2656)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA45C #615CA4
analogous
#A4855C #9FA45C #7BA45C
triadic
#9FA45C #5C9FA4 #A45C9F
tetradic
#9FA45C #5CA485 #615CA4 #A45C7B
square
#9FA45C #5CA485 #615CA4 #A45C7B
split-complementary
#9FA45C #5C7BA4 #855CA4
monochromatic
#535630 #797D46 #9FA45C #B6BA83 #CDD0AB

Accessibility & contrast

On white

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

On black

7.94
#9FA45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA45C
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA45C#FFFFFF#000000##000000
##9FA45C1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E56
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#A79C93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa45c;
/* rgb */ color: rgb(159, 164, 92);
/* oklch */ color: oklch(69.8% 0.095 112.1);
Tailwind
colors: {
  custom: {
    50: '#bdbe8b',
    500: '#9fa45c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa45c;
$custom-light: #bdbe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa45c",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 64.167,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.09531,
    "h": 112.1
  },
  "luminance": 0.34695
}

Semantic roles & 50–950 ramp

primary
#9FA45C
secondary
#A09EBE
accent
#63C56A
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA45C

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

Preview Lab → · Contrast checker → · Palette generator →

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