#CCE87C#CCE87C

#CCE87C is a very light, vivid yellow-green. Relative luminance 0.720; OKLCH L 88.7% C 0.138 H 121.2°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#CCE87C
RGBrgb(204, 232, 124)
HSLhsl(76, 70%, 70%)
HSVhsv(76, 47%, 91%)
CMYKcmyk(12.1%, 0%, 46.6%, 9%)
CIE-LABlab(87.97, -25.53, 49.21)
CIE-LCHlch(87.97, 55.44, 117.42°)
OKLaboklab(88.74% -0.0715 0.118)
OKLCHoklch(88.74% 0.138 121.2)
XYZxyz(57.3968, 72.0059, 29.9396)
Luminance0.7201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE87C #987CE8
analogous
#E8CE7C #CCE87C #96E87C
triadic
#CCE87C #7CCCE8 #E87CCC
tetradic
#CCE87C #7CE8CE #987CE8 #E87C96
square
#CCE87C #7CE8CE #987CE8 #E87C96
split-complementary
#CCE87C #7C96E8 #CE7CE8
monochromatic
#9CC723 #B8DF48 #CCE87C #E0F1B0 #F5FAE4

Accessibility & contrast

On white

1.36
#CCE87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#CCE87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE87C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE87C#FFFFFF#000000##000000
##CCE87C1.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD73
Deuteranopia (green-blind)
#F0DD82
Tritanopia (blue-blind)
#D4DECF
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce87c;
/* rgb */ color: rgb(204, 232, 124);
/* oklch */ color: oklch(88.7% 0.138 121.2);
Tailwind
colors: {
  custom: {
    50: '#ddefa4',
    500: '#cce87c',
    950: '#000000',
  },
}
SCSS
$custom: #cce87c;
$custom-light: #ddefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cce87c",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 124
  },
  "hsl": {
    "h": 75.556,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88742,
    "c": 0.13795,
    "h": 121.2
  },
  "luminance": 0.72006
}

Semantic roles & 50–950 ramp

primary
#CCE87C
secondary
#6748C0
accent
#13D245
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE87C

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

Preview Lab → · Contrast checker → · Palette generator →

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