#CCE170#CCE170

#CCE170 is a very light, vivid yellow-green. Relative luminance 0.679; OKLCH L 87.1% C 0.141 H 118.1°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#CCE170
RGBrgb(204, 225, 112)
HSLhsl(71, 65%, 66%)
HSVhsv(71, 50%, 88%)
CMYKcmyk(9.3%, 0%, 50.2%, 11.8%)
CIE-LABlab(85.94, -23.35, 52.41)
CIE-LCHlch(85.94, 57.37, 114.01°)
OKLaboklab(87.07% -0.0664 0.1241)
OKLCHoklch(87.07% 0.141 118.1)
XYZxyz(54.7523, 67.8580, 25.5396)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE170 #8570E1
analogous
#E1BD70 #CCE170 #93E170
triadic
#CCE170 #70CCE1 #E170CC
tetradic
#CCE170 #70E1BD #8570E1 #E17093
square
#CCE170 #70E1BD #8570E1 #E17093
split-complementary
#CCE170 #7093E1 #BD70E1
monochromatic
#97B125 #BAD63D #CCE170 #DEECA3 #F0F6D5

Accessibility & contrast

On white

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

On black

14.57
#CCE170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE170
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE170#FFFFFF#000000##000000
##CCE1701.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED766
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#D6D7C7
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce170;
/* rgb */ color: rgb(204, 225, 112);
/* oklch */ color: oklch(87.1% 0.141 118.1);
Tailwind
colors: {
  custom: {
    50: '#ddea9c',
    500: '#cce170',
    950: '#000000',
  },
}
SCSS
$custom: #cce170;
$custom-light: #ddea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce170",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 112
  },
  "hsl": {
    "h": 71.15,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87065,
    "c": 0.14074,
    "h": 118.1
  },
  "luminance": 0.67858
}

Semantic roles & 50–950 ramp

primary
#CCE170
secondary
#5743B3
accent
#18CD3A
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE170

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

Preview Lab → · Contrast checker → · Palette generator →

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