#9FA65D#9FA65D

#9FA65D is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.097 H 113.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9FA65D
RGBrgb(159, 166, 93)
HSLhsl(66, 29%, 51%)
HSVhsv(66, 44%, 65%)
CMYKcmyk(4.2%, 0%, 44%, 34.9%)
CIE-LABlab(66.09, -13.72, 36.83)
CIE-LCHlch(66.09, 39.31, 110.43°)
OKLaboklab(70.28% -0.0384 0.0888)
OKLCHoklch(70.28% 0.097 113.4)
XYZxyz(29.9104, 35.4341, 15.6176)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA65D #645DA6
analogous
#A6885D #9FA65D #7AA65D
triadic
#9FA65D #5D9FA6 #A65D9F
tetradic
#9FA65D #5DA688 #645DA6 #A65D7A
square
#9FA65D #5DA688 #645DA6 #A65D7A
split-complementary
#9FA65D #5D7AA6 #885DA6
monochromatic
#545830 #7A8046 #9FA65D #B6BC84 #CED1AC

Accessibility & contrast

On white

2.60
#9FA65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9FA65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA65D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA65D#FFFFFF#000000##000000
##9FA65D1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A057
Deuteranopia (green-blind)
#AFA161
Tritanopia (blue-blind)
#A79E95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa65d;
/* rgb */ color: rgb(159, 166, 93);
/* oklch */ color: oklch(70.3% 0.097 113.4);
Tailwind
colors: {
  custom: {
    50: '#bdc08c',
    500: '#9fa65d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa65d;
$custom-light: #bdc08c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa65d",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 93
  },
  "hsl": {
    "h": 65.753,
    "s": 29.084,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.09678,
    "h": 113.4
  },
  "luminance": 0.35434
}

Semantic roles & 50–950 ramp

primary
#9FA65D
secondary
#A29FC0
accent
#62C56C
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA65D

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

Preview Lab → · Contrast checker → · Palette generator →

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