#9CCC38#9CCC38

#9CCC38 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.4% C 0.178 H 126.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#9CCC38
RGBrgb(156, 204, 56)
HSLhsl(79, 59%, 51%)
HSVhsv(79, 73%, 80%)
CMYKcmyk(23.5%, 0%, 72.5%, 20%)
CIE-LABlab(76.40, -36.45, 64.50)
CIE-LCHlch(76.40, 74.09, 119.47°)
OKLaboklab(78.42% -0.1051 0.144)
OKLCHoklch(78.42% 0.178 126.1)
XYZxyz(36.0172, 50.5386, 11.5980)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CCC38 #6838CC
analogous
#CCB238 #9CCC38 #52CC38
triadic
#9CCC38 #389CCC #CC389C
tetradic
#9CCC38 #38CCB2 #6838CC #CC3852
square
#9CCC38 #38CCB2 #6838CC #CC3852
split-complementary
#9CCC38 #3852CC #B238CC
monochromatic
#536E1C #789E29 #9CCC38 #B4D869 #CCE599

Accessibility & contrast

On white

1.89
#9CCC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#9CCC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CCC38
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CCC38#FFFFFF#000000##000000
##9CCC381.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1B
Deuteranopia (green-blind)
#D0BC45
Tritanopia (blue-blind)
#A3C2AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9ccc38;
/* rgb */ color: rgb(156, 204, 56);
/* oklch */ color: oklch(78.4% 0.178 126.1);
Tailwind
colors: {
  custom: {
    50: '#bddb78',
    500: '#9ccc38',
    950: '#000000',
  },
}
SCSS
$custom: #9ccc38;
$custom-light: #bddb78;
$custom-dark: #000000;
JSON
{
  "hex": "#9ccc38",
  "rgb": {
    "r": 156,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 79.459,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78417,
    "c": 0.17823,
    "h": 126.1
  },
  "luminance": 0.50539
}

Semantic roles & 50–950 ramp

primary
#9CCC38
secondary
#483177
accent
#45E278
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9CCC38

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

Preview Lab → · Contrast checker → · Palette generator →

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