#9FA64F#9FA64F

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

Color values

HEX#9FA64F
RGBrgb(159, 166, 79)
HSLhsl(65, 36%, 48%)
HSVhsv(65, 52%, 65%)
CMYKcmyk(4.2%, 0%, 52.4%, 34.9%)
CIE-LABlab(65.91, -15.12, 43.65)
CIE-LCHlch(65.91, 46.19, 109.11°)
OKLaboklab(70.09% -0.0437 0.1027)
OKLCHoklch(70.09% 0.112 113.1)
XYZxyz(29.3461, 35.2084, 12.6456)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA64F #564FA6
analogous
#A6814F #9FA64F #73A64F
triadic
#9FA64F #4F9FA6 #A64F9F
tetradic
#9FA64F #4FA681 #564FA6 #A64F73
square
#9FA64F #4FA681 #564FA6 #A64F73
split-complementary
#9FA64F #4F73A6 #814FA6
monochromatic
#505328 #777D3B #9FA64F #B7BD75 #CDD19E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA64F#FFFFFF#000000##000000
##9FA64F1.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)
#B19F47
Deuteranopia (green-blind)
#B1A154
Tritanopia (blue-blind)
#A89D92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa64f;
/* rgb */ color: rgb(159, 166, 79);
/* oklch */ color: oklch(70.1% 0.112 113.1);
Tailwind
colors: {
  custom: {
    50: '#bdc083',
    500: '#9fa64f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa64f;
$custom-light: #bdc083;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa64f",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 64.828,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70087,
    "c": 0.11162,
    "h": 113.1
  },
  "luminance": 0.35208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FA64F

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

Preview Lab → · Contrast checker → · Palette generator →

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