#CCEC6F#CCEC6F

#CCEC6F is a very light, vivid yellow-green. Relative luminance 0.740; OKLCH L 89.4% C 0.156 H 121.5°. Best body text is #000000 at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#CCEC6F
RGBrgb(204, 236, 111)
HSLhsl(75, 77%, 68%)
HSVhsv(75, 53%, 93%)
CMYKcmyk(13.6%, 0%, 53%, 7.5%)
CIE-LABlab(88.91, -28.67, 56.37)
CIE-LCHlch(88.91, 63.24, 116.96°)
OKLaboklab(89.45% -0.0814 0.1326)
OKLCHoklch(89.45% 0.156 121.5)
XYZxyz(57.7669, 73.9760, 26.2714)
Luminance0.7398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC6F #8F6FEC
analogous
#ECCD6F #CCEC6F #8DEC6F
triadic
#CCEC6F #6FCCEC #EC6FCC
tetradic
#CCEC6F #6FECCD #8F6FEC #EC6F8D
square
#CCEC6F #6FECCD #8F6FEC #EC6F8D
split-complementary
#CCEC6F #6F8DEC #CD6FEC
monochromatic
#9AC61A #B9E539 #CCEC6F #DFF3A5 #F2FADB

Accessibility & contrast

On white

1.33
#CCEC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.80
#CCEC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC6F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC6F#FFFFFF#000000##000000
##CCEC6F1.001.3315.8015.80
#FFFFFF1.331.0021.0021.00
#00000015.8021.001.001.00
##00000015.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E063
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#D5E2D0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ccec6f;
/* rgb */ color: rgb(204, 236, 111);
/* oklch */ color: oklch(89.4% 0.156 121.5);
Tailwind
colors: {
  custom: {
    50: '#def29c',
    500: '#ccec6f',
    950: '#000000',
  },
}
SCSS
$custom: #ccec6f;
$custom-light: #def29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec6f",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 75.36,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89449,
    "c": 0.15565,
    "h": 121.5
  },
  "luminance": 0.73976
}

Semantic roles & 50–950 ramp

primary
#CCEC6F
secondary
#5E3BC4
accent
#0DD941
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCEC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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