#CCE56F#CCE56F

#CCE56F is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.9% C 0.147 H 119.4°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#CCE56F
RGBrgb(204, 229, 111)
HSLhsl(73, 69%, 67%)
HSVhsv(73, 52%, 90%)
CMYKcmyk(10.9%, 0%, 51.5%, 10.2%)
CIE-LABlab(87.01, -25.36, 54.14)
CIE-LCHlch(87.01, 59.78, 115.10°)
OKLaboklab(87.92% -0.0721 0.1278)
OKLCHoklch(87.92% 0.147 119.4)
XYZxyz(55.7909, 70.0239, 25.6127)
Luminance0.7002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE56F #886FE5
analogous
#E5C36F #CCE56F #91E56F
triadic
#CCE56F #6FCCE5 #E56FCC
tetradic
#CCE56F #6FE5C3 #886FE5 #E56F91
square
#CCE56F #6FE5C3 #886FE5 #E56F91
split-complementary
#CCE56F #6F91E5 #C36FE5
monochromatic
#98B821 #BADC3B #CCE56F #DEEEA3 #F1F8D7

Accessibility & contrast

On white

1.40
#CCE56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#CCE56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE56F
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE56F#FFFFFF#000000##000000
##CCE56F1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA64
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#D6DBCA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cce56f;
/* rgb */ color: rgb(204, 229, 111);
/* oklch */ color: oklch(87.9% 0.147 119.4);
Tailwind
colors: {
  custom: {
    50: '#dded9b',
    500: '#cce56f',
    950: '#000000',
  },
}
SCSS
$custom: #cce56f;
$custom-light: #dded9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cce56f",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 72.712,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87921,
    "c": 0.14675,
    "h": 119.4
  },
  "luminance": 0.70024
}

Semantic roles & 50–950 ramp

primary
#CCE56F
secondary
#5940B8
accent
#14D13C
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE56F

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

Preview Lab → · Contrast checker → · Palette generator →

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