#9FA45D#9FA45D

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

Color values

HEX#9FA45D
RGBrgb(159, 164, 93)
HSLhsl(64, 28%, 50%)
HSVhsv(64, 43%, 64%)
CMYKcmyk(3%, 0%, 43.3%, 35.7%)
CIE-LABlab(65.52, -12.68, 36.14)
CIE-LCHlch(65.52, 38.30, 109.33°)
OKLaboklab(69.84% -0.0354 0.0873)
OKLCHoklch(69.84% 0.094 112.1)
XYZxyz(29.5497, 34.7126, 15.4974)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA45D #625DA4
analogous
#A4855D #9FA45D #7CA45D
triadic
#9FA45D #5D9FA4 #A45D9F
tetradic
#9FA45D #5DA485 #625DA4 #A45D7C
square
#9FA45D #5DA485 #625DA4 #A45D7C
split-complementary
#9FA45D #5D7CA4 #855DA4
monochromatic
#545630 #7A7D46 #9FA45D #B6BA84 #CDD0AB

Accessibility & contrast

On white

2.64
#9FA45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA45D#FFFFFF#000000##000000
##9FA45D1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa45d;
/* rgb */ color: rgb(159, 164, 93);
/* oklch */ color: oklch(69.8% 0.094 112.1);
Tailwind
colors: {
  custom: {
    50: '#bcbe8c',
    500: '#9fa45d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa45d;
$custom-light: #bcbe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa45d",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 93
  },
  "hsl": {
    "h": 64.225,
    "s": 28.063,
    "l": 50.392
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.09419,
    "h": 112.1
  },
  "luminance": 0.34712
}

Semantic roles & 50–950 ramp

primary
#9FA45D
secondary
#A19FBE
accent
#63C46A
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA45D

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

Preview Lab → · Contrast checker → · Palette generator →

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