#CCEF5A#CCEF5A

#CCEF5A is a very light, vivid yellow-green. Relative luminance 0.753; OKLCH L 89.9% C 0.177 H 121.3°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#CCEF5A
RGBrgb(204, 239, 90)
HSLhsl(74, 82%, 65%)
HSVhsv(74, 62%, 94%)
CMYKcmyk(14.6%, 0%, 62.3%, 6.3%)
CIE-LABlab(89.54, -31.75, 66.09)
CIE-LCHlch(89.54, 73.32, 115.66°)
OKLaboklab(89.89% -0.0919 0.1511)
OKLCHoklch(89.89% 0.177 121.3)
XYZxyz(57.6145, 75.3086, 21.1717)
Luminance0.7531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEF5A #7D5AEF
analogous
#EFC85A #CCEF5A #82EF5A
triadic
#CCEF5A #5ACCEF #EF5ACC
tetradic
#CCEF5A #5AEFC8 #7D5AEF #EF5A82
square
#CCEF5A #5AEFC8 #7D5AEF #EF5A82
split-complementary
#CCEF5A #5A82EF #C85AEF
monochromatic
#94BC12 #BBEA22 #CCEF5A #DDF492 #EEFACA

Accessibility & contrast

On white

1.31
#CCEF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#CCEF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEF5A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEF5A#FFFFFF#000000##000000
##CCEF5A1.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE247
Deuteranopia (green-blind)
#F8E165
Tritanopia (blue-blind)
#D6E3D0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ccef5a;
/* rgb */ color: rgb(204, 239, 90);
/* oklch */ color: oklch(89.9% 0.177 121.3);
Tailwind
colors: {
  custom: {
    50: '#dff48f',
    500: '#ccef5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccef5a;
$custom-light: #dff48f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccef5a",
  "rgb": {
    "r": 204,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 74.094,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89891,
    "c": 0.17689,
    "h": 121.3
  },
  "luminance": 0.75309
}

Semantic roles & 50–950 ramp

primary
#CCEF5A
secondary
#5232BB
accent
#07DF3A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CCEF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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