#CCF57F#CCF57F

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

Color values

HEX#CCF57F
RGBrgb(204, 245, 127)
HSLhsl(81, 86%, 73%)
HSVhsv(81, 48%, 96%)
CMYKcmyk(16.7%, 0%, 48.2%, 3.9%)
CIE-LABlab(91.54, -31.33, 52.14)
CIE-LCHlch(91.54, 60.83, 121.01°)
OKLaboklab(91.62% -0.0876 0.1247)
OKLCHoklch(91.62% 0.152 125.1)
XYZxyz(61.3849, 79.6740, 32.2192)
Luminance0.7967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF57F #A87FF5
analogous
#F5E37F #CCF57F #91F57F
triadic
#CCF57F #7FCCF5 #F57FCC
tetradic
#CCF57F #7FF5E3 #A87FF5 #F57F91
square
#CCF57F #7FF5E3 #A87FF5 #F57F91
split-complementary
#CCF57F #7F91F5 #E37FF5
monochromatic
#9DE812 #B5F146 #CCF57F #E3F9B8 #F4FDE3

Accessibility & contrast

On white

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

On black

16.93
#CCF57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF57F
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF57F#FFFFFF#000000##000000
##CCF57F1.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE875
Deuteranopia (green-blind)
#FAE686
Tritanopia (blue-blind)
#D3EBDA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf57f;
/* rgb */ color: rgb(204, 245, 127);
/* oklch */ color: oklch(91.6% 0.152 125.1);
Tailwind
colors: {
  custom: {
    50: '#ddf8a6',
    500: '#ccf57f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf57f;
$custom-light: #ddf8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf57f",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 127
  },
  "hsl": {
    "h": 80.847,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91619,
    "c": 0.15235,
    "h": 125.1
  },
  "luminance": 0.79674
}

Semantic roles & 50–950 ramp

primary
#CCF57F
secondary
#7747D1
accent
#03E251
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF57F

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

Preview Lab → · Contrast checker → · Palette generator →

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