#9FCC38#9FCC38

#9FCC38 is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 78.6% C 0.177 H 125.3°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#9FCC38
RGBrgb(159, 204, 56)
HSLhsl(78, 59%, 51%)
HSVhsv(78, 73%, 80%)
CMYKcmyk(22.1%, 0%, 72.5%, 20%)
CIE-LABlab(76.58, -35.29, 64.74)
CIE-LCHlch(76.58, 73.74, 118.59°)
OKLaboklab(78.61% -0.1021 0.1444)
OKLCHoklch(78.61% 0.177 125.3)
XYZxyz(36.6050, 50.8417, 11.6255)
Luminance0.5084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC38 #6538CC
analogous
#CCAF38 #9FCC38 #55CC38
triadic
#9FCC38 #389FCC #CC389F
tetradic
#9FCC38 #38CCAF #6538CC #CC3855
square
#9FCC38 #38CCAF #6538CC #CC3855
split-complementary
#9FCC38 #3855CC #AF38CC
monochromatic
#556E1C #7A9E29 #9FCC38 #B7D869 #CEE599

Accessibility & contrast

On white

1.88
#9FCC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#9FCC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC38
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC38#FFFFFF#000000##000000
##9FCC381.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1B
Deuteranopia (green-blind)
#D1BC45
Tritanopia (blue-blind)
#A6C2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fcc38;
/* rgb */ color: rgb(159, 204, 56);
/* oklch */ color: oklch(78.6% 0.177 125.3);
Tailwind
colors: {
  custom: {
    50: '#bfdb79',
    500: '#9fcc38',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc38;
$custom-light: #bfdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc38",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 78.243,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.17684,
    "h": 125.3
  },
  "luminance": 0.50842
}

Semantic roles & 50–950 ramp

primary
#9FCC38
secondary
#463177
accent
#45E275
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCC38

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

Preview Lab → · Contrast checker → · Palette generator →

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