#9FA85E#9FA85E

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

Color values

HEX#9FA85E
RGBrgb(159, 168, 94)
HSLhsl(67, 30%, 51%)
HSVhsv(67, 44%, 66%)
CMYKcmyk(5.4%, 0%, 44%, 34.1%)
CIE-LABlab(66.66, -14.65, 37.03)
CIE-LCHlch(66.66, 39.83, 111.59°)
OKLaboklab(70.75% -0.041 0.0893)
OKLCHoklch(70.75% 0.098 114.6)
XYZxyz(30.3214, 36.1847, 15.9745)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA85E #675EA8
analogous
#A88C5E #9FA85E #7AA85E
triadic
#9FA85E #5E9FA8 #A85E9F
tetradic
#9FA85E #5EA88C #675EA8 #A85E7A
square
#9FA85E #5EA88C #675EA8 #A85E7A
split-complementary
#9FA85E #5E7AA8 #8C5EA8
monochromatic
#565B31 #7B8246 #9FA85E #B7BD86 #CED3AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA85E#FFFFFF#000000##000000
##9FA85E1.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)
#B1A158
Deuteranopia (green-blind)
#B1A362
Tritanopia (blue-blind)
#A7A096
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa85e;
/* rgb */ color: rgb(159, 168, 94);
/* oklch */ color: oklch(70.7% 0.098 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc18d',
    500: '#9fa85e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa85e;
$custom-light: #bcc18d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa85e",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 94
  },
  "hsl": {
    "h": 67.297,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70747,
    "c": 0.09829,
    "h": 114.6
  },
  "luminance": 0.36184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA85E

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

Preview Lab → · Contrast checker → · Palette generator →

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