#CCEC8A#CCEC8A

#CCEC8A is a very light, vivid yellow-green. Relative luminance 0.747; OKLCH L 89.8% C 0.129 H 123.7°. Best body text is #000000 at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#CCEC8A
RGBrgb(204, 236, 138)
HSLhsl(80, 72%, 73%)
HSVhsv(80, 42%, 93%)
CMYKcmyk(13.6%, 0%, 41.5%, 7.5%)
CIE-LABlab(89.23, -25.91, 44.02)
CIE-LCHlch(89.23, 51.08, 120.48°)
OKLaboklab(89.81% -0.0716 0.1072)
OKLCHoklch(89.81% 0.129 123.7)
XYZxyz(59.4845, 74.6630, 35.3174)
Luminance0.7466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC8A #AA8AEC
analogous
#ECDB8A #CCEC8A #9BEC8A
triadic
#CCEC8A #8ACCEC #EC8ACC
tetradic
#CCEC8A #8AECDB #AA8AEC #EC8A9B
square
#CCEC8A #8AECDB #AA8AEC #EC8A9B
split-complementary
#CCEC8A #8A9BEC #DB8AEC
monochromatic
#9DD823 #B5E355 #CCEC8A #E3F5BF #F4FBE5

Accessibility & contrast

On white

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

On black

15.93
#CCEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC8A
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC8A#FFFFFF#000000##000000
##CCEC8A1.001.3215.9315.93
#FFFFFF1.321.0021.0021.00
#00000015.9321.001.001.00
##00000015.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E182
Deuteranopia (green-blind)
#F2E08F
Tritanopia (blue-blind)
#D3E3D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ccec8a;
/* rgb */ color: rgb(204, 236, 138);
/* oklch */ color: oklch(89.8% 0.129 123.7);
Tailwind
colors: {
  custom: {
    50: '#ddf2ad',
    500: '#ccec8a',
    950: '#000000',
  },
}
SCSS
$custom: #ccec8a;
$custom-light: #ddf2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec8a",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 79.592,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89814,
    "c": 0.12887,
    "h": 123.7
  },
  "luminance": 0.74663
}

Semantic roles & 50–950 ramp

primary
#CCEC8A
secondary
#7954C7
accent
#11D451
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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