#CCEC8F#CCEC8F

#CCEC8F is a very light, vivid yellow-green. Relative luminance 0.748; OKLCH L 89.9% C 0.123 H 124.3°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#CCEC8F
RGBrgb(204, 236, 143)
HSLhsl(81, 71%, 74%)
HSVhsv(81, 39%, 93%)
CMYKcmyk(13.6%, 0%, 39.4%, 7.5%)
CIE-LABlab(89.30, -25.33, 41.66)
CIE-LCHlch(89.30, 48.75, 121.30°)
OKLaboklab(89.89% -0.0696 0.102)
OKLCHoklch(89.89% 0.124 124.3)
XYZxyz(59.8549, 74.8112, 37.2679)
Luminance0.7481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC8F #AF8FEC
analogous
#ECDD8F #CCEC8F #9EEC8F
triadic
#CCEC8F #8FCCEC #EC8FCC
tetradic
#CCEC8F #8FECDD #AF8FEC #EC8F9E
square
#CCEC8F #8FECDD #AF8FEC #EC8F9E
split-complementary
#CCEC8F #8F9EEC #DD8FEC
monochromatic
#9CDA26 #B4E35B #CCEC8F #E4F5C3 #F3FBE5

Accessibility & contrast

On white

1.32
#CCEC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#CCEC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC8F
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC8F#FFFFFF#000000##000000
##CCEC8F1.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E188
Deuteranopia (green-blind)
#F1E094
Tritanopia (blue-blind)
#D2E4D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ccec8f;
/* rgb */ color: rgb(204, 236, 143);
/* oklch */ color: oklch(89.9% 0.123 124.3);
Tailwind
colors: {
  custom: {
    50: '#ddf2b1',
    500: '#ccec8f',
    950: '#000000',
  },
}
SCSS
$custom: #ccec8f;
$custom-light: #ddf2b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec8f",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 143
  },
  "hsl": {
    "h": 80.645,
    "s": 70.992,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89892,
    "c": 0.1235,
    "h": 124.3
  },
  "luminance": 0.74811
}

Semantic roles & 50–950 ramp

primary
#CCEC8F
secondary
#7E58C7
accent
#12D355
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151611
muted
#848581

Preview Lab

Preview with #CCEC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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