#CCEC5B#CCEC5B

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

Color values

HEX#CCEC5B
RGBrgb(204, 236, 91)
HSLhsl(73, 79%, 64%)
HSVhsv(73, 61%, 93%)
CMYKcmyk(13.6%, 0%, 61.4%, 7.5%)
CIE-LABlab(88.73, -30.28, 64.81)
CIE-LCHlch(88.73, 71.54, 115.04°)
OKLaboklab(89.24% -0.0878 0.1485)
OKLCHoklch(89.24% 0.173 120.6)
XYZxyz(56.7864, 73.5837, 21.1070)
Luminance0.7358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC5B #7B5BEC
analogous
#ECC35B #CCEC5B #84EC5B
triadic
#CCEC5B #5BCCEC #EC5BCC
tetradic
#CCEC5B #5BECC3 #7B5BEC #EC5B84
square
#CCEC5B #5BECC3 #7B5BEC #EC5B84
split-complementary
#CCEC5B #5B84EC #C35BEC
monochromatic
#94B715 #BBE624 #CCEC5B #DDF292 #EEF9C9

Accessibility & contrast

On white

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

On black

15.72
#CCEC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC5B
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC5B#FFFFFF#000000##000000
##CCEC5B1.001.3415.7215.72
#FFFFFF1.341.0021.0021.00
#00000015.7221.001.001.00
##00000015.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccec5b;
/* rgb */ color: rgb(204, 236, 91);
/* oklch */ color: oklch(89.2% 0.173 120.6);
Tailwind
colors: {
  custom: {
    50: '#def28f',
    500: '#ccec5b',
    950: '#000000',
  },
}
SCSS
$custom: #ccec5b;
$custom-light: #def28f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec5b",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 73.241,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8924,
    "c": 0.17253,
    "h": 120.6
  },
  "luminance": 0.73584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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