#9FA86E#9FA86E

#9FA86E is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.0% C 0.079 H 115.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9FA86E
RGBrgb(159, 168, 110)
HSLhsl(69, 25%, 55%)
HSVhsv(69, 35%, 66%)
CMYKcmyk(5.4%, 0%, 34.5%, 34.1%)
CIE-LABlab(66.90, -12.74, 28.95)
CIE-LCHlch(66.90, 31.63, 113.75°)
OKLaboklab(71.02% -0.0344 0.0717)
OKLCHoklch(71.02% 0.079 115.7)
XYZxyz(31.1152, 36.5022, 20.1553)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA86E #776EA8
analogous
#A8946E #9FA86E #82A86E
triadic
#9FA86E #6E9FA8 #A86E9F
tetradic
#9FA86E #6EA894 #776EA8 #A86E82
square
#9FA86E #6EA894 #776EA8 #A86E82
split-complementary
#9FA86E #6E82A8 #946EA8
monochromatic
#5B613A #7F8851 #9FA86E #B8BF94 #D2D6BB

Accessibility & contrast

On white

2.53
#9FA86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#9FA86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA86E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA86E#FFFFFF#000000##000000
##9FA86E1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A26A
Deuteranopia (green-blind)
#AFA371
Tritanopia (blue-blind)
#A5A299
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fa86e;
/* rgb */ color: rgb(159, 168, 110);
/* oklch */ color: oklch(71.0% 0.079 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc198',
    500: '#9fa86e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa86e;
$custom-light: #bcc198;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa86e",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 110
  },
  "hsl": {
    "h": 69.31,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71018,
    "c": 0.07948,
    "h": 115.7
  },
  "luminance": 0.36502
}

Semantic roles & 50–950 ramp

primary
#9FA86E
secondary
#B0ADC5
accent
#66C175
background
#FBFBF9
surface
#F6F7F2
border
#D0D0CC
text
#12120D
muted
#81817E

Preview Lab

Preview with #9FA86E

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

Preview Lab → · Contrast checker → · Palette generator →

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