#CCEC7A#CCEC7A

#CCEC7A is a very light, vivid yellow-green. Relative luminance 0.742; OKLCH L 89.6% C 0.145 H 122.3°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#CCEC7A
RGBrgb(204, 236, 122)
HSLhsl(77, 75%, 70%)
HSVhsv(77, 48%, 93%)
CMYKcmyk(13.6%, 0%, 48.3%, 7.5%)
CIE-LABlab(89.03, -27.63, 51.44)
CIE-LCHlch(89.03, 58.39, 118.24°)
OKLaboklab(89.59% -0.0776 0.1228)
OKLCHoklch(89.59% 0.145 122.3)
XYZxyz(58.4103, 74.2333, 29.6599)
Luminance0.7423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEC7A #9A7AEC
analogous
#ECD37A #CCEC7A #93EC7A
triadic
#CCEC7A #7ACCEC #EC7ACC
tetradic
#CCEC7A #7AECD3 #9A7AEC #EC7A93
square
#CCEC7A #7AECD3 #9A7AEC #EC7A93
split-complementary
#CCEC7A #7A93EC #D37AEC
monochromatic
#9DCE1D #B7E444 #CCEC7A #E1F4B0 #F5FBE4

Accessibility & contrast

On white

1.33
#CCEC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#CCEC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEC7A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEC7A#FFFFFF#000000##000000
##CCEC7A1.001.3315.8515.85
#FFFFFF1.331.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E070
Deuteranopia (green-blind)
#F3E080
Tritanopia (blue-blind)
#D4E2D2
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ccec7a;
/* rgb */ color: rgb(204, 236, 122);
/* oklch */ color: oklch(89.6% 0.145 122.3);
Tailwind
colors: {
  custom: {
    50: '#ddf2a3',
    500: '#ccec7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccec7a;
$custom-light: #ddf2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccec7a",
  "rgb": {
    "r": 204,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 76.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89586,
    "c": 0.14522,
    "h": 122.3
  },
  "luminance": 0.74233
}

Semantic roles & 50–950 ramp

primary
#CCEC7A
secondary
#6945C5
accent
#0ED747
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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