#9FA345#9FA345

#9FA345 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.3% C 0.118 H 111.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9FA345
RGBrgb(159, 163, 69)
HSLhsl(63, 41%, 45%)
HSVhsv(63, 58%, 64%)
CMYKcmyk(2.5%, 0%, 57.7%, 36.1%)
CIE-LABlab(64.96, -14.42, 47.32)
CIE-LCHlch(64.96, 49.46, 106.95°)
OKLaboklab(69.29% -0.0428 0.1095)
OKLCHoklch(69.29% 0.118 111.4)
XYZxyz(28.4702, 33.9956, 10.6911)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA345 #4945A3
analogous
#A37845 #9FA345 #70A345
triadic
#9FA345 #459FA3 #A3459F
tetradic
#9FA345 #45A378 #4945A3 #A34570
square
#9FA345 #45A378 #4945A3 #A34570
split-complementary
#9FA345 #4570A3 #7845A3
monochromatic
#4B4D21 #757833 #9FA345 #BBBF67 #CED192

Accessibility & contrast

On white

2.69
#9FA345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9FA345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA345
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA345#FFFFFF#000000##000000
##9FA3451.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C3B
Deuteranopia (green-blind)
#AF9F4A
Tritanopia (blue-blind)
#A99A8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa345;
/* rgb */ color: rgb(159, 163, 69);
/* oklch */ color: oklch(69.3% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe7c',
    500: '#9fa345',
    950: '#000000',
  },
}
SCSS
$custom: #9fa345;
$custom-light: #bebe7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa345",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 69
  },
  "hsl": {
    "h": 62.553,
    "s": 40.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.11756,
    "h": 111.4
  },
  "luminance": 0.33995
}

Semantic roles & 50–950 ramp

primary
#9FA345
secondary
#8A87BC
accent
#57D05D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA345

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

Preview Lab → · Contrast checker → · Palette generator →

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