#9FA35A#9FA35A

#9FA35A is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.096 H 111.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9FA35A
RGBrgb(159, 163, 90)
HSLhsl(63, 29%, 50%)
HSVhsv(63, 45%, 64%)
CMYKcmyk(2.5%, 0%, 44.8%, 36.1%)
CIE-LABlab(65.20, -12.48, 37.28)
CIE-LCHlch(65.20, 39.32, 108.50°)
OKLaboklab(69.57% -0.0351 0.0896)
OKLCHoklch(69.57% 0.096 111.4)
XYZxyz(29.2412, 34.3040, 14.7518)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA35A #5E5AA3
analogous
#A3835A #9FA35A #7AA35A
triadic
#9FA35A #5A9FA3 #A35A9F
tetradic
#9FA35A #5AA383 #5E5AA3 #A35A7A
square
#9FA35A #5AA383 #5E5AA3 #A35A7A
split-complementary
#9FA35A #5A7AA3 #835AA3
monochromatic
#52542E #797C44 #9FA35A #B6B981 #CDCFA8

Accessibility & contrast

On white

2.67
#9FA35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9FA35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA35A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA35A#FFFFFF#000000##000000
##9FA35A1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D54
Deuteranopia (green-blind)
#AD9F5D
Tritanopia (blue-blind)
#A79B92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa35a;
/* rgb */ color: rgb(159, 163, 90);
/* oklch */ color: oklch(69.6% 0.096 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbe8a',
    500: '#9fa35a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa35a;
$custom-light: #bdbe8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa35a",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 90
  },
  "hsl": {
    "h": 63.288,
    "s": 28.854,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.09627,
    "h": 111.4
  },
  "luminance": 0.34303
}

Semantic roles & 50–950 ramp

primary
#9FA35A
secondary
#9E9CBD
accent
#63C568
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA35A

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

Preview Lab → · Contrast checker → · Palette generator →

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