#CCEC49#CCEC49

#CCEC49 is a very light, vivid yellow-green. Relative luminance 0.733; OKLCH L 89.1% C 0.185 H 120.0°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#CCEC49
RGBrgb(204, 236, 73)
HSLhsl(72, 81%, 61%)
HSVhsv(72, 69%, 93%)
CMYKcmyk(13.6%, 0%, 69.1%, 7.5%)
CIE-LABlab(88.60, -31.42, 71.60)
CIE-LCHlch(88.60, 78.19, 113.69°)
OKLaboklab(89.09% -0.0926 0.1603)
OKLCHoklch(89.09% 0.185 120)
XYZxyz(56.1009, 73.3095, 17.4967)
Luminance0.7331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC49 #6949EC
analogous
#ECBA49 #CCEC49 #7AEC49
triadic
#CCEC49 #49CCEC #EC49CC
tetradic
#CCEC49 #49ECBA #6949EC #EC497A
square
#CCEC49 #49ECBA #6949EC #EC497A
split-complementary
#CCEC49 #497AEC #BA49EC
monochromatic
#8BA912 #B9E017 #CCEC49 #DCF280 #EBF8B8

Accessibility & contrast

On white

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

On black

15.66
#CCEC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC49
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC49#FFFFFF#000000##000000
##CCEC491.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDF2E
Deuteranopia (green-blind)
#F7DF56
Tritanopia (blue-blind)
#D7E0CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ccec49;
/* rgb */ color: rgb(204, 236, 73);
/* oklch */ color: oklch(89.1% 0.185 120.0);
Tailwind
colors: {
  custom: {
    50: '#dff285',
    500: '#ccec49',
    950: '#000000',
  },
}
SCSS
$custom: #ccec49;
$custom-light: #dff285;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec49",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 73
  },
  "hsl": {
    "h": 71.779,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89093,
    "c": 0.18514,
    "h": 120
  },
  "luminance": 0.73309
}

Semantic roles & 50–950 ramp

primary
#CCEC49
secondary
#472FAA
accent
#08DD32
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEC49

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

Preview Lab → · Contrast checker → · Palette generator →

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