#CCEF8A#CCEF8A

#CCEF8A is a very light, vivid yellow-green. Relative luminance 0.764; OKLCH L 90.5% C 0.133 H 124.6°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#CCEF8A
RGBrgb(204, 239, 138)
HSLhsl(81, 76%, 74%)
HSVhsv(81, 42%, 94%)
CMYKcmyk(14.6%, 0%, 42.3%, 6.3%)
CIE-LABlab(90.05, -27.34, 45.05)
CIE-LCHlch(90.05, 52.69, 121.25°)
OKLaboklab(90.46% -0.0756 0.1095)
OKLCHoklch(90.46% 0.133 124.6)
XYZxyz(60.3555, 76.4050, 35.6078)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEF8A #AD8AEF
analogous
#EFE08A #CCEF8A #9AEF8A
triadic
#CCEF8A #8ACCEF #EF8ACC
tetradic
#CCEF8A #8AEFE0 #AD8AEF #EF8A9A
square
#CCEF8A #8AEFE0 #AD8AEF #EF8A9A
split-complementary
#CCEF8A #8A9AEF #E08AEF
monochromatic
#9DE01F #B5E854 #CCEF8A #E3F6C0 #F3FBE4

Accessibility & contrast

On white

1.29
#CCEF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.28
#CCEF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEF8A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEF8A#FFFFFF#000000##000000
##CCEF8A1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E482
Deuteranopia (green-blind)
#F4E28F
Tritanopia (blue-blind)
#D2E6D7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ccef8a;
/* rgb */ color: rgb(204, 239, 138);
/* oklch */ color: oklch(90.5% 0.133 124.6);
Tailwind
colors: {
  custom: {
    50: '#ddf4ad',
    500: '#ccef8a',
    950: '#000000',
  },
}
SCSS
$custom: #ccef8a;
$custom-light: #ddf4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccef8a",
  "rgb": {
    "r": 204,
    "g": 239,
    "b": 138
  },
  "hsl": {
    "h": 80.792,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90465,
    "c": 0.13303,
    "h": 124.6
  },
  "luminance": 0.76405
}

Semantic roles & 50–950 ramp

primary
#CCEF8A
secondary
#7C53CA
accent
#0DD854
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCEF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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