#CCF281#CCF281

#CCF281 is a very light, vivid yellow-green. Relative luminance 0.779; OKLCH L 91.0% C 0.146 H 124.5°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#CCF281
RGBrgb(204, 242, 129)
HSLhsl(80, 81%, 73%)
HSVhsv(80, 47%, 95%)
CMYKcmyk(15.7%, 0%, 46.7%, 5.1%)
CIE-LABlab(90.75, -29.73, 50.23)
CIE-LCHlch(90.75, 58.37, 120.62°)
OKLaboklab(90.99% -0.0829 0.1206)
OKLCHoklch(90.99% 0.146 124.5)
XYZxyz(60.6163, 77.9262, 32.6124)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF281 #A781F2
analogous
#F2DF81 #CCF281 #93F281
triadic
#CCF281 #81CCF2 #F281CC
tetradic
#CCF281 #81F2DF #A781F2 #F28193
square
#CCF281 #81F2DF #A781F2 #F28193
split-complementary
#CCF281 #8193F2 #DF81F2
monochromatic
#9DE117 #B6EC4A #CCF281 #E2F8B8 #F4FCE3

Accessibility & contrast

On white

1.27
#CCF281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#CCF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF281
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF281#FFFFFF#000000##000000
##CCF2811.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE677
Deuteranopia (green-blind)
#F8E487
Tritanopia (blue-blind)
#D3E9D8
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf281;
/* rgb */ color: rgb(204, 242, 129);
/* oklch */ color: oklch(91.0% 0.146 124.5);
Tailwind
colors: {
  custom: {
    50: '#ddf6a8',
    500: '#ccf281',
    950: '#000000',
  },
}
SCSS
$custom: #ccf281;
$custom-light: #ddf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf281",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 80.177,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9099,
    "c": 0.14634,
    "h": 124.5
  },
  "luminance": 0.77927
}

Semantic roles & 50–950 ramp

primary
#CCF281
secondary
#764ACD
accent
#08DE50
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF281

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

Preview Lab → · Contrast checker → · Palette generator →

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