#CCEF57#CCEF57

#CCEF57 is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.9% C 0.179 H 121.2°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#CCEF57
RGBrgb(204, 239, 87)
HSLhsl(74, 83%, 64%)
HSVhsv(74, 64%, 94%)
CMYKcmyk(14.6%, 0%, 63.6%, 6.3%)
CIE-LABlab(89.51, -31.95, 67.27)
CIE-LCHlch(89.51, 74.47, 115.41°)
OKLaboklab(89.86% -0.0928 0.1532)
OKLCHoklch(89.86% 0.179 121.2)
XYZxyz(57.4894, 75.2585, 20.5127)
Luminance0.7526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEF57 #7A57EF
analogous
#EFC657 #CCEF57 #80EF57
triadic
#CCEF57 #57CCEF #EF57CC
tetradic
#CCEF57 #57EFC6 #7A57EF #EF5780
square
#CCEF57 #57EFC6 #7A57EF #EF5780
split-complementary
#CCEF57 #5780EF #C657EF
monochromatic
#93BA12 #BBEA1F #CCEF57 #DDF48F #EEFAC7

Accessibility & contrast

On white

1.31
#CCEF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#CCEF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEF57
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEF57#FFFFFF#000000##000000
##CCEF571.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE243
Deuteranopia (green-blind)
#F8E162
Tritanopia (blue-blind)
#D6E3D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ccef57;
/* rgb */ color: rgb(204, 239, 87);
/* oklch */ color: oklch(89.9% 0.179 121.2);
Tailwind
colors: {
  custom: {
    50: '#dff48d',
    500: '#ccef57',
    950: '#000000',
  },
}
SCSS
$custom: #ccef57;
$custom-light: #dff48d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccef57",
  "rgb": {
    "r": 204,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 73.816,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89864,
    "c": 0.17912,
    "h": 121.2
  },
  "luminance": 0.75258
}

Semantic roles & 50–950 ramp

primary
#CCEF57
secondary
#5131B9
accent
#06DF38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCEF57

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

Preview Lab → · Contrast checker → · Palette generator →

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