#CCF156#CCF156

#CCF156 is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.3% C 0.182 H 121.7°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#CCF156
RGBrgb(204, 241, 86)
HSLhsl(74, 85%, 64%)
HSVhsv(74, 64%, 95%)
CMYKcmyk(15.4%, 0%, 64.3%, 5.5%)
CIE-LABlab(90.05, -32.94, 68.23)
CIE-LCHlch(90.05, 75.77, 115.77°)
OKLaboklab(90.3% -0.0956 0.1551)
OKLCHoklch(90.3% 0.182 121.7)
XYZxyz(58.0376, 76.4198, 20.4953)
Luminance0.7642 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF156 #7B56F1
analogous
#F1C956 #CCF156 #7FF156
triadic
#CCF156 #56CCF1 #F156CC
tetradic
#CCF156 #56F1C9 #7B56F1 #F1567F
square
#CCF156 #56F1C9 #7B56F1 #F1567F
split-complementary
#CCF156 #567FF1 #C956F1
monochromatic
#94BD10 #BBEC1D #CCF156 #DDF68F #EEFAC7

Accessibility & contrast

On white

1.29
#CCF156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#CCF156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF156
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF156#FFFFFF#000000##000000
##CCF1561.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE341
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#D6E5D1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccf156;
/* rgb */ color: rgb(204, 241, 86);
/* oklch */ color: oklch(90.3% 0.182 121.7);
Tailwind
colors: {
  custom: {
    50: '#dff58d',
    500: '#ccf156',
    950: '#000000',
  },
}
SCSS
$custom: #ccf156;
$custom-light: #dff58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf156",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 74.323,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90297,
    "c": 0.18221,
    "h": 121.7
  },
  "luminance": 0.7642
}

Semantic roles & 50–950 ramp

primary
#CCF156
secondary
#5130BB
accent
#04E139
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCF156

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

Preview Lab → · Contrast checker → · Palette generator →

#CCF156 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva