#9FC12B#9FC12B

#9FC12B is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 76.0% C 0.171 H 122.1°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#9FC12B
RGBrgb(159, 193, 43)
HSLhsl(74, 64%, 46%)
HSVhsv(74, 78%, 76%)
CMYKcmyk(17.6%, 0%, 77.7%, 24.3%)
CIE-LABlab(73.34, -30.83, 65.89)
CIE-LCHlch(73.34, 72.75, 115.08°)
OKLaboklab(75.97% -0.0909 0.1447)
OKLCHoklch(75.97% 0.171 122.1)
XYZxyz(33.8046, 45.6852, 9.3223)
Luminance0.4568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC12B #4D2BC1
analogous
#C1982B #9FC12B #54C12B
triadic
#9FC12B #2B9FC1 #C12B9F
tetradic
#9FC12B #2BC198 #4D2BC1 #C12B54
square
#9FC12B #2BC198 #4D2BC1 #C12B54
split-complementary
#9FC12B #2B54C1 #982BC1
monochromatic
#4D5D15 #768F20 #9FC12B #BAD851 #CEE383

Accessibility & contrast

On white

2.07
#9FC12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#9FC12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC12B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC12B#FFFFFF#000000##000000
##9FC12B1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C8B43A
Tritanopia (blue-blind)
#A8B7A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9fc12b;
/* rgb */ color: rgb(159, 193, 43);
/* oklch */ color: oklch(76.0% 0.171 122.1);
Tailwind
colors: {
  custom: {
    50: '#bfd371',
    500: '#9fc12b',
    950: '#000000',
  },
}
SCSS
$custom: #9fc12b;
$custom-light: #bfd371;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc12b",
  "rgb": {
    "r": 159,
    "g": 193,
    "b": 43
  },
  "hsl": {
    "h": 73.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.17089,
    "h": 122.1
  },
  "luminance": 0.45685
}

Semantic roles & 50–950 ramp

primary
#9FC12B
secondary
#8E7BCC
accent
#41E767
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9FC12B

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

Preview Lab → · Contrast checker → · Palette generator →

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