#9FA45A#9FA45A

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

Color values

HEX#9FA45A
RGBrgb(159, 164, 90)
HSLhsl(64, 29%, 50%)
HSVhsv(64, 45%, 64%)
CMYKcmyk(3%, 0%, 45.1%, 35.7%)
CIE-LABlab(65.48, -13.00, 37.63)
CIE-LCHlch(65.48, 39.81, 109.06°)
OKLaboklab(69.79% -0.0366 0.0904)
OKLCHoklch(69.79% 0.098 112)
XYZxyz(29.4194, 34.6605, 14.8112)
Luminance0.3466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA45A #5F5AA4
analogous
#A4845A #9FA45A #7AA45A
triadic
#9FA45A #5A9FA4 #A45A9F
tetradic
#9FA45A #5AA484 #5F5AA4 #A45A7A
square
#9FA45A #5AA484 #5F5AA4 #A45A7A
split-complementary
#9FA45A #5A7AA4 #845AA4
monochromatic
#52552F #797C44 #9FA45A #B6BA81 #CDD0A9

Accessibility & contrast

On white

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

On black

7.93
#9FA45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA45A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA45A#FFFFFF#000000##000000
##9FA45A1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E54
Deuteranopia (green-blind)
#AEA05E
Tritanopia (blue-blind)
#A79C92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa45a;
/* rgb */ color: rgb(159, 164, 90);
/* oklch */ color: oklch(69.8% 0.098 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbe8a',
    500: '#9fa45a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa45a;
$custom-light: #bdbe8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa45a",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 90
  },
  "hsl": {
    "h": 64.054,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.09754,
    "h": 112
  },
  "luminance": 0.3466
}

Semantic roles & 50–950 ramp

primary
#9FA45A
secondary
#9E9CBE
accent
#62C569
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA45A

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

Preview Lab → · Contrast checker → · Palette generator →

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