#CCF781#CCF781

#CCF781 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.1% C 0.153 H 125.7°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#CCF781
RGBrgb(204, 247, 129)
HSLhsl(82, 88%, 74%)
HSVhsv(82, 48%, 97%)
CMYKcmyk(17.4%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.11, -32.05, 51.89)
CIE-LCHlch(92.11, 60.99, 121.70°)
OKLaboklab(92.08% -0.0894 0.1243)
OKLCHoklch(92.08% 0.153 125.7)
XYZxyz(62.1249, 80.9433, 33.1153)
Luminance0.8094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF781 #AC81F7
analogous
#F7E781 #CCF781 #91F781
triadic
#CCF781 #81CCF7 #F781CC
tetradic
#CCF781 #81F7E7 #AC81F7 #F78191
square
#CCF781 #81F7E7 #AC81F7 #F78191
split-complementary
#CCF781 #8191F7 #E781F7
monochromatic
#9DEE0F #B5F347 #CCF781 #E3FBBB #F3FDE2

Accessibility & contrast

On white

1.22
#CCF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.19
#CCF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF781
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF781#FFFFFF#000000##000000
##CCF7811.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FCE888
Tritanopia (blue-blind)
#D2EDDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ccf781;
/* rgb */ color: rgb(204, 247, 129);
/* oklch */ color: oklch(92.1% 0.153 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfaa8',
    500: '#ccf781',
    950: '#000000',
  },
}
SCSS
$custom: #ccf781;
$custom-light: #ddfaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf781",
  "rgb": {
    "r": 204,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 81.864,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92084,
    "c": 0.15309,
    "h": 125.7
  },
  "luminance": 0.80944
}

Semantic roles & 50–950 ramp

primary
#CCF781
secondary
#7B49D4
accent
#01E554
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF781

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

Preview Lab → · Contrast checker → · Palette generator →

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