#CCE17D#CCE17D

#CCE17D is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 87.2% C 0.128 H 118.9°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#CCE17D
RGBrgb(204, 225, 125)
HSLhsl(73, 63%, 69%)
HSVhsv(73, 44%, 88%)
CMYKcmyk(9.3%, 0%, 44.4%, 11.8%)
CIE-LABlab(86.09, -22.06, 46.41)
CIE-LCHlch(86.09, 51.39, 115.42°)
OKLaboklab(87.24% -0.0616 0.1118)
OKLCHoklch(87.24% 0.128 118.9)
XYZxyz(55.5290, 68.1688, 29.6306)
Luminance0.6817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE17D #927DE1
analogous
#E1C47D #CCE17D #9AE17D
triadic
#CCE17D #7DCCE1 #E17DCC
tetradic
#CCE17D #7DE1C4 #927DE1 #E17D9A
square
#CCE17D #7DE1C4 #927DE1 #E17D9A
split-complementary
#CCE17D #7D9AE1 #C47DE1
monochromatic
#9BB92B #B8D64B #CCE17D #E0ECAF #F3F8E0

Accessibility & contrast

On white

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

On black

14.63
#CCE17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE17D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE17D#FFFFFF#000000##000000
##CCE17D1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#EAD882
Tritanopia (blue-blind)
#D5D8C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce17d;
/* rgb */ color: rgb(204, 225, 125);
/* oklch */ color: oklch(87.2% 0.128 118.9);
Tailwind
colors: {
  custom: {
    50: '#ddeaa4',
    500: '#cce17d',
    950: '#000000',
  },
}
SCSS
$custom: #cce17d;
$custom-light: #ddeaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cce17d",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 125
  },
  "hsl": {
    "h": 72.6,
    "s": 62.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87239,
    "c": 0.12767,
    "h": 118.9
  },
  "luminance": 0.68168
}

Semantic roles & 50–950 ramp

primary
#CCE17D
secondary
#614AB8
accent
#1BCA40
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE17D

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

Preview Lab → · Contrast checker → · Palette generator →

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