#9FA65E#9FA65E

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

Color values

HEX#9FA65E
RGBrgb(159, 166, 94)
HSLhsl(66, 29%, 51%)
HSVhsv(66, 43%, 65%)
CMYKcmyk(4.2%, 0%, 43.4%, 34.9%)
CIE-LABlab(66.10, -13.61, 36.34)
CIE-LCHlch(66.10, 38.80, 110.54°)
OKLaboklab(70.3% -0.038 0.0878)
OKLCHoklch(70.3% 0.096 113.4)
XYZxyz(29.9550, 35.4519, 15.8524)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA65E #655EA6
analogous
#A6895E #9FA65E #7BA65E
triadic
#9FA65E #5E9FA6 #A65E9F
tetradic
#9FA65E #5EA689 #655EA6 #A65E7B
square
#9FA65E #5EA689 #655EA6 #A65E7B
split-complementary
#9FA65E #5E7BA6 #895EA6
monochromatic
#555931 #7A8047 #9FA65E #B7BC85 #CED2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA65E#FFFFFF#000000##000000
##9FA65E1.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)
#AFA058
Deuteranopia (green-blind)
#AFA261
Tritanopia (blue-blind)
#A79E95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa65e;
/* rgb */ color: rgb(159, 166, 94);
/* oklch */ color: oklch(70.3% 0.096 113.4);
Tailwind
colors: {
  custom: {
    50: '#bcc08d',
    500: '#9fa65e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa65e;
$custom-light: #bcc08d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa65e",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 94
  },
  "hsl": {
    "h": 65.833,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70299,
    "c": 0.09566,
    "h": 113.4
  },
  "luminance": 0.35452
}

Semantic roles & 50–950 ramp

primary
#9FA65E
secondary
#A3A0C0
accent
#63C56C
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA65E

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

Preview Lab → · Contrast checker → · Palette generator →

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