#CCEC5A#CCEC5A

#CCEC5A is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.2% C 0.173 H 120.5°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#CCEC5A
RGBrgb(204, 236, 90)
HSLhsl(73, 79%, 64%)
HSVhsv(73, 62%, 93%)
CMYKcmyk(13.6%, 0%, 61.9%, 7.5%)
CIE-LABlab(88.72, -30.35, 65.21)
CIE-LCHlch(88.72, 71.93, 114.96°)
OKLaboklab(89.23% -0.0881 0.1493)
OKLCHoklch(89.23% 0.173 120.5)
XYZxyz(56.7435, 73.5666, 20.8813)
Luminance0.7357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC5A #7A5AEC
analogous
#ECC35A #CCEC5A #83EC5A
triadic
#CCEC5A #5ACCEC #EC5ACC
tetradic
#CCEC5A #5AECC3 #7A5AEC #EC5A83
square
#CCEC5A #5AECC3 #7A5AEC #EC5A83
split-complementary
#CCEC5A #5A83EC #C35AEC
monochromatic
#93B715 #BBE623 #CCEC5A #DDF291 #EEF9C8

Accessibility & contrast

On white

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

On black

15.71
#CCEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC5A
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC5A#FFFFFF#000000##000000
##CCEC5A1.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF48
Deuteranopia (green-blind)
#F6DF64
Tritanopia (blue-blind)
#D6E0CE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ccec5a;
/* rgb */ color: rgb(204, 236, 90);
/* oklch */ color: oklch(89.2% 0.173 120.5);
Tailwind
colors: {
  custom: {
    50: '#def28f',
    500: '#ccec5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccec5a;
$custom-light: #def28f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec5a",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 73.151,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.89231,
    "c": 0.1733,
    "h": 120.5
  },
  "luminance": 0.73566
}

Semantic roles & 50–950 ramp

primary
#CCEC5A
secondary
#5134B6
accent
#0ADC38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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