#CCE17A#CCE17A

#CCE17A is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 87.2% C 0.131 H 118.7°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#CCE17A
RGBrgb(204, 225, 122)
HSLhsl(72, 63%, 68%)
HSVhsv(72, 46%, 88%)
CMYKcmyk(9.3%, 0%, 45.8%, 11.8%)
CIE-LABlab(86.05, -22.37, 47.81)
CIE-LCHlch(86.05, 52.79, 115.07°)
OKLaboklab(87.2% -0.0627 0.1148)
OKLCHoklch(87.2% 0.131 118.7)
XYZxyz(55.3403, 68.0933, 28.6365)
Luminance0.6809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE17A #8F7AE1
analogous
#E1C27A #CCE17A #98E17A
triadic
#CCE17A #7ACCE1 #E17ACC
tetradic
#CCE17A #7AE1C2 #8F7AE1 #E17A98
square
#CCE17A #7AE1C2 #8F7AE1 #E17A98
split-complementary
#CCE17A #7A98E1 #C27AE1
monochromatic
#9AB729 #B9D648 #CCE17A #DFECAC #F2F8DE

Accessibility & contrast

On white

1.44
#CCE17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#CCE17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE17A
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE17A#FFFFFF#000000##000000
##CCE17A1.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD771
Deuteranopia (green-blind)
#EAD87F
Tritanopia (blue-blind)
#D5D7C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce17a;
/* rgb */ color: rgb(204, 225, 122);
/* oklch */ color: oklch(87.2% 0.131 118.7);
Tailwind
colors: {
  custom: {
    50: '#ddeaa2',
    500: '#cce17a',
    950: '#000000',
  },
}
SCSS
$custom: #cce17a;
$custom-light: #ddeaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cce17a",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 72.233,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87197,
    "c": 0.13078,
    "h": 118.7
  },
  "luminance": 0.68093
}

Semantic roles & 50–950 ramp

primary
#CCE17A
secondary
#5E47B8
accent
#1BCB3F
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE17A

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

Preview Lab → · Contrast checker → · Palette generator →

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