#9FA85F#9FA85F

#9FA85F is a light, moderate yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.097 H 114.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9FA85F
RGBrgb(159, 168, 95)
HSLhsl(67, 30%, 52%)
HSVhsv(67, 43%, 66%)
CMYKcmyk(5.4%, 0%, 43.5%, 34.1%)
CIE-LABlab(66.67, -14.54, 36.54)
CIE-LCHlch(66.67, 39.33, 111.70°)
OKLaboklab(70.76% -0.0406 0.0883)
OKLCHoklch(70.76% 0.097 114.7)
XYZxyz(30.3666, 36.2028, 16.2124)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA85F #685FA8
analogous
#A88D5F #9FA85F #7BA85F
triadic
#9FA85F #5F9FA8 #A85F9F
tetradic
#9FA85F #5FA88D #685FA8 #A85F7B
square
#9FA85F #5FA88D #685FA8 #A85F7B
split-complementary
#9FA85F #5F7BA8 #8D5FA8
monochromatic
#565B32 #7B8347 #9FA85F #B7BE87 #CFD3AE

Accessibility & contrast

On white

2.55
#9FA85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9FA85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA85F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA85F#FFFFFF#000000##000000
##9FA85F1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A259
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#A7A196
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa85f;
/* rgb */ color: rgb(159, 168, 95);
/* oklch */ color: oklch(70.8% 0.097 114.7);
Tailwind
colors: {
  custom: {
    50: '#bcc18e',
    500: '#9fa85f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa85f;
$custom-light: #bcc18e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa85f",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 67.397,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70763,
    "c": 0.09717,
    "h": 114.7
  },
  "luminance": 0.36202
}

Semantic roles & 50–950 ramp

primary
#9FA85F
secondary
#A5A1C1
accent
#62C66E
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA85F

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

Preview Lab → · Contrast checker → · Palette generator →

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