#9FB04C#9FB04C

#9FB04C is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.3% C 0.127 H 117.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9FB04C
RGBrgb(159, 176, 76)
HSLhsl(70, 40%, 49%)
HSVhsv(70, 57%, 69%)
CMYKcmyk(9.7%, 0%, 56.8%, 31%)
CIE-LABlab(68.71, -20.48, 48.30)
CIE-LCHlch(68.71, 52.46, 112.98°)
OKLaboklab(72.32% -0.0592 0.1124)
OKLCHoklch(72.32% 0.127 117.8)
XYZxyz(31.1284, 38.9437, 12.7131)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB04C #5D4CB0
analogous
#B08F4C #9FB04C #6DB04C
triadic
#9FB04C #4C9FB0 #B04C9F
tetradic
#9FB04C #4CB08F #5D4CB0 #B04C6D
square
#9FB04C #4CB08F #5D4CB0 #B04C6D
split-complementary
#9FB04C #4C6DB0 #8F4CB0
monochromatic
#525B27 #78853A #9FB04C #B6C476 #CDD6A0

Accessibility & contrast

On white

2.39
#9FB04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9FB04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB04C
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB04C#FFFFFF#000000##000000
##9FB04C1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA742
Deuteranopia (green-blind)
#B9A852
Tritanopia (blue-blind)
#A8A79A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb04c;
/* rgb */ color: rgb(159, 176, 76);
/* oklch */ color: oklch(72.3% 0.127 117.8);
Tailwind
colors: {
  custom: {
    50: '#bdc781',
    500: '#9fb04c',
    950: '#000000',
  },
}
SCSS
$custom: #9fb04c;
$custom-light: #bdc781;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb04c",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 70.2,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.12704,
    "h": 117.8
  },
  "luminance": 0.38943
}

Semantic roles & 50–950 ramp

primary
#9FB04C
secondary
#9D95C3
accent
#58D06D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB04C

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

Preview Lab → · Contrast checker → · Palette generator →

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