#CCF581#CCF581

#CCF581 is a very light, vivid yellow-green. Relative luminance 0.797; OKLCH L 91.6% C 0.150 H 125.3°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#CCF581
RGBrgb(204, 245, 129)
HSLhsl(81, 85%, 73%)
HSVhsv(81, 47%, 96%)
CMYKcmyk(16.7%, 0%, 47.3%, 3.9%)
CIE-LABlab(91.56, -31.13, 51.23)
CIE-LCHlch(91.56, 59.94, 121.28°)
OKLaboklab(91.65% -0.0868 0.1228)
OKLCHoklch(91.65% 0.15 125.3)
XYZxyz(61.5165, 79.7267, 32.9125)
Luminance0.7973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF581 #AA81F5
analogous
#F5E481 #CCF581 #92F581
triadic
#CCF581 #81CCF5 #F581CC
tetradic
#CCF581 #81F5E4 #AA81F5 #F58192
square
#CCF581 #81F5E4 #AA81F5 #F58192
split-complementary
#CCF581 #8192F5 #E481F5
monochromatic
#9DE913 #B5F048 #CCF581 #E3F9BA #F4FDE3

Accessibility & contrast

On white

1.24
#CCF581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#CCF581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF581
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF581#FFFFFF#000000##000000
##CCF5811.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FAE688
Tritanopia (blue-blind)
#D3ECDA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf581;
/* rgb */ color: rgb(204, 245, 129);
/* oklch */ color: oklch(91.6% 0.150 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddf8a8',
    500: '#ccf581',
    950: '#000000',
  },
}
SCSS
$custom: #ccf581;
$custom-light: #ddf8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf581",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 81.207,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91646,
    "c": 0.15039,
    "h": 125.3
  },
  "luminance": 0.79727
}

Semantic roles & 50–950 ramp

primary
#CCF581
secondary
#7949D1
accent
#04E252
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF581

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

Preview Lab → · Contrast checker → · Palette generator →

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