#CCE371#CCE371

#CCE371 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.5% C 0.142 H 118.9°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#CCE371
RGBrgb(204, 227, 113)
HSLhsl(72, 67%, 67%)
HSVhsv(72, 50%, 89%)
CMYKcmyk(10.1%, 0%, 50.2%, 11%)
CIE-LABlab(86.49, -24.22, 52.60)
CIE-LCHlch(86.49, 57.91, 114.72°)
OKLaboklab(87.51% -0.0687 0.1246)
OKLCHoklch(87.51% 0.142 118.9)
XYZxyz(55.3521, 68.9681, 26.0158)
Luminance0.6897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE371 #8871E3
analogous
#E3C171 #CCE371 #93E371
triadic
#CCE371 #71CCE3 #E371CC
tetradic
#CCE371 #71E3C1 #8871E3 #E37193
square
#CCE371 #71E3C1 #8871E3 #E37193
split-complementary
#CCE371 #7193E3 #C171E3
monochromatic
#98B624 #BAD93E #CCE371 #DEEDA4 #F1F7D7

Accessibility & contrast

On white

1.42
#CCE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#CCE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE371
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE371#FFFFFF#000000##000000
##CCE3711.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD867
Deuteranopia (green-blind)
#EDD977
Tritanopia (blue-blind)
#D6D9C9
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce371;
/* rgb */ color: rgb(204, 227, 113);
/* oklch */ color: oklch(87.5% 0.142 118.9);
Tailwind
colors: {
  custom: {
    50: '#ddeb9c',
    500: '#cce371',
    950: '#000000',
  },
}
SCSS
$custom: #cce371;
$custom-light: #ddeb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce371",
  "rgb": {
    "r": 204,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 72.105,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87511,
    "c": 0.14231,
    "h": 118.9
  },
  "luminance": 0.68968
}

Semantic roles & 50–950 ramp

primary
#CCE371
secondary
#5942B6
accent
#17CF3C
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE371

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

Preview Lab → · Contrast checker → · Palette generator →

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