#CCEC4F#CCEC4F

#CCEC4F is a very light, vivid yellow-green. Relative luminance 0.734; OKLCH L 89.1% C 0.181 H 120.2°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#CCEC4F
RGBrgb(204, 236, 79)
HSLhsl(72, 81%, 62%)
HSVhsv(72, 67%, 93%)
CMYKcmyk(13.6%, 0%, 66.5%, 7.5%)
CIE-LABlab(88.63, -31.07, 69.44)
CIE-LCHlch(88.63, 76.08, 114.11°)
OKLaboklab(89.14% -0.0911 0.1567)
OKLCHoklch(89.14% 0.181 120.2)
XYZxyz(56.3095, 73.3930, 18.5954)
Luminance0.7339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC4F #6F4FEC
analogous
#ECBD4F #CCEC4F #7EEC4F
triadic
#CCEC4F #4FCCEC #EC4FCC
tetradic
#CCEC4F #4FECBD #6F4FEC #EC4F7E
square
#CCEC4F #4FECBD #6F4FEC #EC4F7E
split-complementary
#CCEC4F #4F7EEC #BD4FEC
monochromatic
#8EAE13 #BBE519 #CCEC4F #DCF286 #ECF8BD

Accessibility & contrast

On white

1.34
#CCEC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#CCEC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC4F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC4F#FFFFFF#000000##000000
##CCEC4F1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF38
Deuteranopia (green-blind)
#F7DF5B
Tritanopia (blue-blind)
#D7E0CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ccec4f;
/* rgb */ color: rgb(204, 236, 79);
/* oklch */ color: oklch(89.1% 0.181 120.2);
Tailwind
colors: {
  custom: {
    50: '#dff288',
    500: '#ccec4f',
    950: '#000000',
  },
}
SCSS
$custom: #ccec4f;
$custom-light: #dff288;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec4f",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 79
  },
  "hsl": {
    "h": 72.229,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89138,
    "c": 0.18122,
    "h": 120.2
  },
  "luminance": 0.73393
}

Semantic roles & 50–950 ramp

primary
#CCEC4F
secondary
#4A31AE
accent
#09DD34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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