#9FA64E#9FA64E

#9FA64E is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.1% C 0.113 H 113.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA64E
RGBrgb(159, 166, 78)
HSLhsl(65, 36%, 48%)
HSVhsv(65, 53%, 65%)
CMYKcmyk(4.2%, 0%, 53%, 34.9%)
CIE-LABlab(65.90, -15.21, 44.12)
CIE-LCHlch(65.90, 46.67, 109.02°)
OKLaboklab(70.08% -0.0441 0.1036)
OKLCHoklch(70.08% 0.113 113)
XYZxyz(29.3100, 35.1939, 12.4553)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA64E #554EA6
analogous
#A6814E #9FA64E #73A64E
triadic
#9FA64E #4E9FA6 #A64E9F
tetradic
#9FA64E #4EA681 #554EA6 #A64E73
square
#9FA64E #4EA681 #554EA6 #A64E73
split-complementary
#9FA64E #4E73A6 #814EA6
monochromatic
#4F5327 #777C3A #9FA64E #B8BE74 #CDD19D

Accessibility & contrast

On white

2.61
#9FA64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA64E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA64E#FFFFFF#000000##000000
##9FA64E1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F46
Deuteranopia (green-blind)
#B1A153
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa64e;
/* rgb */ color: rgb(159, 166, 78);
/* oklch */ color: oklch(70.1% 0.113 113.0);
Tailwind
colors: {
  custom: {
    50: '#bdc082',
    500: '#9fa64e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa64e;
$custom-light: #bdc082;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa64e",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 78
  },
  "hsl": {
    "h": 64.773,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.11261,
    "h": 113
  },
  "luminance": 0.35193
}

Semantic roles & 50–950 ramp

primary
#9FA64E
secondary
#9592BE
accent
#5CCC65
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA64E

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

Preview Lab → · Contrast checker → · Palette generator →

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