#CCF57C#CCF57C

#CCF57C is a very light, vivid yellow-green. Relative luminance 0.796; OKLCH L 91.6% C 0.155 H 124.8°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#CCF57C
RGBrgb(204, 245, 124)
HSLhsl(80, 86%, 72%)
HSVhsv(80, 49%, 96%)
CMYKcmyk(16.7%, 0%, 49.4%, 3.9%)
CIE-LABlab(91.50, -31.64, 53.49)
CIE-LCHlch(91.50, 62.15, 120.60°)
OKLaboklab(91.58% -0.0887 0.1274)
OKLCHoklch(91.58% 0.155 124.8)
XYZxyz(61.1923, 79.5970, 31.2048)
Luminance0.7960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF57C #A57CF5
analogous
#F5E27C #CCF57C #8FF57C
triadic
#CCF57C #7CCCF5 #F57CCC
tetradic
#CCF57C #7CF5E2 #A57CF5 #F57C8F
square
#CCF57C #7CF5E2 #A57CF5 #F57C8F
split-complementary
#CCF57C #7C8FF5 #E27CF5
monochromatic
#9DE511 #B6F143 #CCF57C #E2F9B5 #F4FDE3

Accessibility & contrast

On white

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

On black

16.92
#CCF57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF57C
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF57C#FFFFFF#000000##000000
##CCF57C1.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE871
Deuteranopia (green-blind)
#FBE683
Tritanopia (blue-blind)
#D3EBD9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ccf57c;
/* rgb */ color: rgb(204, 245, 124);
/* oklch */ color: oklch(91.6% 0.155 124.8);
Tailwind
colors: {
  custom: {
    50: '#ddf8a4',
    500: '#ccf57c',
    950: '#000000',
  },
}
SCSS
$custom: #ccf57c;
$custom-light: #ddf8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf57c",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 80.331,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9158,
    "c": 0.15523,
    "h": 124.8
  },
  "luminance": 0.79597
}

Semantic roles & 50–950 ramp

primary
#CCF57C
secondary
#7445D1
accent
#03E24F
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF57C

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

Preview Lab → · Contrast checker → · Palette generator →

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