#9FA35E#9FA35E

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

Color values

HEX#9FA35E
RGBrgb(159, 163, 94)
HSLhsl(63, 27%, 50%)
HSVhsv(63, 42%, 64%)
CMYKcmyk(2.5%, 0%, 42.3%, 36.1%)
CIE-LABlab(65.26, -12.04, 35.29)
CIE-LCHlch(65.26, 37.28, 108.84°)
OKLaboklab(69.63% -0.0335 0.0854)
OKLCHoklch(69.63% 0.092 111.4)
XYZxyz(29.4160, 34.3740, 15.6727)
Luminance0.3437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA35E #625EA3
analogous
#A3845E #9FA35E #7CA35E
triadic
#9FA35E #5E9FA3 #A35E9F
tetradic
#9FA35E #5EA384 #625EA3 #A35E7C
square
#9FA35E #5EA384 #625EA3 #A35E7C
split-complementary
#9FA35E #5E7CA3 #845EA3
monochromatic
#545631 #7A7D47 #9FA35E #B6B985 #CDD0AC

Accessibility & contrast

On white

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

On black

7.87
#9FA35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA35E
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA35E#FFFFFF#000000##000000
##9FA35E1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D59
Deuteranopia (green-blind)
#AD9F61
Tritanopia (blue-blind)
#A79C92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa35e;
/* rgb */ color: rgb(159, 163, 94);
/* oklch */ color: oklch(69.6% 0.092 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe8d',
    500: '#9fa35e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa35e;
$custom-light: #bcbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa35e",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 94
  },
  "hsl": {
    "h": 63.478,
    "s": 27.273,
    "l": 50.392
  },
  "oklch": {
    "l": 0.69629,
    "c": 0.09177,
    "h": 111.4
  },
  "luminance": 0.34373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA35E

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

Preview Lab → · Contrast checker → · Palette generator →

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