#9FC042#9FC042

#9FC042 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.9% C 0.155 H 122.7°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#9FC042
RGBrgb(159, 192, 66)
HSLhsl(76, 50%, 51%)
HSVhsv(76, 66%, 75%)
CMYKcmyk(17.2%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.20, -29.07, 57.55)
CIE-LCHlch(73.20, 64.48, 116.80°)
OKLaboklab(75.9% -0.0841 0.1308)
OKLCHoklch(75.9% 0.155 122.7)
XYZxyz(34.1314, 45.4634, 12.1304)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC042 #6342C0
analogous
#C0A242 #9FC042 #60C042
triadic
#9FC042 #429FC0 #C0429F
tetradic
#9FC042 #42C0A2 #6342C0 #C04260
square
#9FC042 #42C0A2 #6342C0 #C04260
split-complementary
#9FC042 #4260C0 #A242C0
monochromatic
#546622 #7A9431 #9FC042 #B6CF70 #CEDF9E

Accessibility & contrast

On white

2.08
#9FC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#9FC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC042
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC042#FFFFFF#000000##000000
##9FC0421.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB531
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#A7B7A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9fc042;
/* rgb */ color: rgb(159, 192, 66);
/* oklch */ color: oklch(75.9% 0.155 122.7);
Tailwind
colors: {
  custom: {
    50: '#bed37d',
    500: '#9fc042',
    950: '#000000',
  },
}
SCSS
$custom: #9fc042;
$custom-light: #bed37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc042",
  "rgb": {
    "r": 159,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 75.714,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75898,
    "c": 0.15548,
    "h": 122.7
  },
  "luminance": 0.45464
}

Semantic roles & 50–950 ramp

primary
#9FC042
secondary
#A293CB
accent
#4EDA73
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9FC042

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

Preview Lab → · Contrast checker → · Palette generator →

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