#9FA35F#9FA35F

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

Color values

HEX#9FA35F
RGBrgb(159, 163, 95)
HSLhsl(64, 27%, 51%)
HSVhsv(64, 42%, 64%)
CMYKcmyk(2.5%, 0%, 41.7%, 36.1%)
CIE-LABlab(65.27, -11.93, 34.78)
CIE-LCHlch(65.27, 36.77, 108.93°)
OKLaboklab(69.65% -0.0331 0.0843)
OKLCHoklch(69.65% 0.091 111.4)
XYZxyz(29.4612, 34.3920, 15.9106)
Luminance0.3439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA35F #635FA3
analogous
#A3855F #9FA35F #7DA35F
triadic
#9FA35F #5F9FA3 #A35F9F
tetradic
#9FA35F #5FA385 #635FA3 #A35F7D
square
#9FA35F #5FA385 #635FA3 #A35F7D
split-complementary
#9FA35F #5F7DA3 #855FA3
monochromatic
#545632 #7A7D48 #9FA35F #B6B986 #CED0AD

Accessibility & contrast

On white

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

On black

7.88
#9FA35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA35F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA35F#FFFFFF#000000##000000
##9FA35F1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9D5A
Deuteranopia (green-blind)
#AD9F62
Tritanopia (blue-blind)
#A79C93
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa35f;
/* rgb */ color: rgb(159, 163, 95);
/* oklch */ color: oklch(69.6% 0.091 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe8d',
    500: '#9fa35f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa35f;
$custom-light: #bcbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa35f",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 95
  },
  "hsl": {
    "h": 63.529,
    "s": 26.984,
    "l": 50.588
  },
  "oklch": {
    "l": 0.69645,
    "c": 0.09061,
    "h": 111.4
  },
  "luminance": 0.34392
}

Semantic roles & 50–950 ramp

primary
#9FA35F
secondary
#A2A0BE
accent
#64C36A
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA35F

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

Preview Lab → · Contrast checker → · Palette generator →

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