#9FA64C#9FA64C

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

Color values

HEX#9FA64C
RGBrgb(159, 166, 76)
HSLhsl(65, 37%, 47%)
HSVhsv(65, 54%, 65%)
CMYKcmyk(4.2%, 0%, 54.2%, 34.9%)
CIE-LABlab(65.88, -15.39, 45.06)
CIE-LCHlch(65.88, 47.61, 108.86°)
OKLaboklab(70.05% -0.0448 0.1054)
OKLCHoklch(70.05% 0.115 113)
XYZxyz(29.2394, 35.1657, 12.0834)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA64C #534CA6
analogous
#A6804C #9FA64C #72A64C
triadic
#9FA64C #4C9FA6 #A64C9F
tetradic
#9FA64C #4CA680 #534CA6 #A64C72
square
#9FA64C #4CA680 #534CA6 #A64C72
split-complementary
#9FA64C #4C72A6 #804CA6
monochromatic
#4F5226 #777C39 #9FA64C #B8BE71 #CDD19B

Accessibility & contrast

On white

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

On black

8.03
#9FA64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA64C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA64C#FFFFFF#000000##000000
##9FA64C1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa64c;
/* rgb */ color: rgb(159, 166, 76);
/* oklch */ color: oklch(70.0% 0.115 113.0);
Tailwind
colors: {
  custom: {
    50: '#bdc081',
    500: '#9fa64c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa64c;
$custom-light: #bdc081;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa64c",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 76
  },
  "hsl": {
    "h": 64.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7005,
    "c": 0.11456,
    "h": 113
  },
  "luminance": 0.35165
}

Semantic roles & 50–950 ramp

primary
#9FA64C
secondary
#9490BE
accent
#5BCD64
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA64C

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

Preview Lab → · Contrast checker → · Palette generator →

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