#9FA71C#9FA71C

#9FA71C is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.149 H 113.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9FA71C
RGBrgb(159, 167, 28)
HSLhsl(63, 71%, 38%)
HSVhsv(63, 83%, 65%)
CMYKcmyk(4.8%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.82, -18.69, 63.39)
CIE-LCHlch(65.82, 66.09, 106.43°)
OKLaboklab(69.9% -0.0586 0.1368)
OKLCHoklch(69.9% 0.149 113.2)
XYZxyz(28.3274, 35.0929, 6.3798)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA71C #241CA7
analogous
#A7691C #9FA71C #59A71C
triadic
#9FA71C #1C9FA7 #A71C9F
tetradic
#9FA71C #1CA769 #241CA7 #A71C59
square
#9FA71C #1CA769 #241CA7 #A71C59
split-complementary
#9FA71C #1C59A7 #691CA7
monochromatic
#3B3E0A #6D7313 #9FA71C #D0DB26 #DBE35A

Accessibility & contrast

On white

2.62
#9FA71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9FA71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA71C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA71C#FFFFFF#000000##000000
##9FA71C1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa71c;
/* rgb */ color: rgb(159, 167, 28);
/* oklch */ color: oklch(69.9% 0.149 113.2);
Tailwind
colors: {
  custom: {
    50: '#bfc068',
    500: '#9fa71c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa71c;
$custom-light: #bfc068;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa71c",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 63.453,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.14885,
    "h": 113.2
  },
  "luminance": 0.35092
}

Semantic roles & 50–950 ramp

primary
#9FA71C
secondary
#5E58C7
accent
#3AEE44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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