#9FA35D#9FA35D

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

Color values

HEX#9FA35D
RGBrgb(159, 163, 93)
HSLhsl(63, 28%, 50%)
HSVhsv(63, 43%, 64%)
CMYKcmyk(2.5%, 0%, 42.9%, 36.1%)
CIE-LABlab(65.24, -12.15, 35.79)
CIE-LCHlch(65.24, 37.79, 108.76°)
OKLaboklab(69.61% -0.0339 0.0865)
OKLCHoklch(69.61% 0.093 111.4)
XYZxyz(29.3714, 34.3561, 15.4379)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA35D #615DA3
analogous
#A3845D #9FA35D #7CA35D
triadic
#9FA35D #5D9FA3 #A35D9F
tetradic
#9FA35D #5DA384 #615DA3 #A35D7C
square
#9FA35D #5DA384 #615DA3 #A35D7C
split-complementary
#9FA35D #5D7CA3 #845DA3
monochromatic
#535530 #797C47 #9FA35D #B6B984 #CDCFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA35D#FFFFFF#000000##000000
##9FA35D1.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)
#AD9D57
Deuteranopia (green-blind)
#AD9F60
Tritanopia (blue-blind)
#A79B92
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa35d;
/* rgb */ color: rgb(159, 163, 93);
/* oklch */ color: oklch(69.6% 0.093 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbe8c',
    500: '#9fa35d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa35d;
$custom-light: #bcbe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa35d",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 93
  },
  "hsl": {
    "h": 63.429,
    "s": 27.559,
    "l": 50.196
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.0929,
    "h": 111.4
  },
  "luminance": 0.34356
}

Semantic roles & 50–950 ramp

primary
#9FA35D
secondary
#A09EBE
accent
#64C469
background
#FBFBF8
surface
#F7F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA35D

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

Preview Lab → · Contrast checker → · Palette generator →

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