#9FA45B#9FA45B

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

Color values

HEX#9FA45B
RGBrgb(159, 164, 91)
HSLhsl(64, 29%, 50%)
HSVhsv(64, 45%, 64%)
CMYKcmyk(3%, 0%, 44.5%, 35.7%)
CIE-LABlab(65.50, -12.89, 37.13)
CIE-LCHlch(65.50, 39.31, 109.15°)
OKLaboklab(69.81% -0.0362 0.0894)
OKLCHoklch(69.81% 0.096 112.1)
XYZxyz(29.4623, 34.6777, 15.0369)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA45B #605BA4
analogous
#A4855B #9FA45B #7AA45B
triadic
#9FA45B #5B9FA4 #A45B9F
tetradic
#9FA45B #5BA485 #605BA4 #A45B7A
square
#9FA45B #5BA485 #605BA4 #A45B7A
split-complementary
#9FA45B #5B7AA4 #855BA4
monochromatic
#53552F #797D45 #9FA45B #B6BA82 #CDD0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA45B#FFFFFF#000000##000000
##9FA45B1.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)
#AE9E55
Deuteranopia (green-blind)
#AEA05F
Tritanopia (blue-blind)
#A79C93
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa45b;
/* rgb */ color: rgb(159, 164, 91);
/* oklch */ color: oklch(69.8% 0.096 112.1);
Tailwind
colors: {
  custom: {
    50: '#bdbe8b',
    500: '#9fa45b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa45b;
$custom-light: #bdbe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa45b",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 64.11,
    "s": 28.627,
    "l": 50
  },
  "oklch": {
    "l": 0.69806,
    "c": 0.09643,
    "h": 112.1
  },
  "luminance": 0.34677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA45B

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

Preview Lab → · Contrast checker → · Palette generator →

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