#9FAB4E#9FAB4E

#9FAB4E is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.119 H 115.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#9FAB4E
RGBrgb(159, 171, 78)
HSLhsl(68, 37%, 49%)
HSVhsv(68, 54%, 67%)
CMYKcmyk(7%, 0%, 54.4%, 32.9%)
CIE-LABlab(67.31, -17.78, 45.76)
CIE-LCHlch(67.31, 49.09, 111.23°)
OKLaboklab(71.21% -0.0513 0.1072)
OKLCHoklch(71.21% 0.119 115.6)
XYZxyz(30.2366, 37.0472, 12.7642)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB4E #5A4EAB
analogous
#AB894E #9FAB4E #71AB4E
triadic
#9FAB4E #4E9FAB #AB4E9F
tetradic
#9FAB4E #4EAB89 #5A4EAB #AB4E71
square
#9FAB4E #4EAB89 #5A4EAB #AB4E71
split-complementary
#9FAB4E #4E71AB #894EAB
monochromatic
#515728 #78813B #9FAB4E #B7C076 #CDD4A0

Accessibility & contrast

On white

2.50
#9FAB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#9FAB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB4E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB4E#FFFFFF#000000##000000
##9FAB4E1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A345
Deuteranopia (green-blind)
#B5A553
Tritanopia (blue-blind)
#A8A296
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fab4e;
/* rgb */ color: rgb(159, 171, 78);
/* oklch */ color: oklch(71.2% 0.119 115.6);
Tailwind
colors: {
  custom: {
    50: '#bdc482',
    500: '#9fab4e',
    950: '#000000',
  },
}
SCSS
$custom: #9fab4e;
$custom-light: #bdc482;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab4e",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 67.742,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71205,
    "c": 0.11884,
    "h": 115.6
  },
  "luminance": 0.37047
}

Semantic roles & 50–950 ramp

primary
#9FAB4E
secondary
#9A94C1
accent
#5ACD69
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FAB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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