#CCE474#CCE474

#CCE474 is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.8% C 0.141 H 119.4°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#CCE474
RGBrgb(204, 228, 116)
HSLhsl(73, 67%, 67%)
HSVhsv(73, 49%, 89%)
CMYKcmyk(10.5%, 0%, 49.1%, 10.6%)
CIE-LABlab(86.79, -24.41, 51.56)
CIE-LCHlch(86.79, 57.05, 115.34°)
OKLaboklab(87.77% -0.069 0.1226)
OKLCHoklch(87.77% 0.141 119.4)
XYZxyz(55.7981, 69.5854, 27.0114)
Luminance0.6958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE474 #8C74E4
analogous
#E4C474 #CCE474 #94E474
triadic
#CCE474 #74CCE4 #E474CC
tetradic
#CCE474 #74E4C4 #8C74E4 #E47494
square
#CCE474 #74E4C4 #8C74E4 #E47494
split-complementary
#CCE474 #7494E4 #C474E4
monochromatic
#9ABA24 #B9DA41 #CCE474 #DFEEA7 #F2F8DA

Accessibility & contrast

On white

1.41
#CCE474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#CCE474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE474
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE474#FFFFFF#000000##000000
##CCE4741.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D96A
Deuteranopia (green-blind)
#EDDA7A
Tritanopia (blue-blind)
#D5DACA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce474;
/* rgb */ color: rgb(204, 228, 116);
/* oklch */ color: oklch(87.8% 0.141 119.4);
Tailwind
colors: {
  custom: {
    50: '#ddec9e',
    500: '#cce474',
    950: '#000000',
  },
}
SCSS
$custom: #cce474;
$custom-light: #ddec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce474",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 72.857,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87767,
    "c": 0.14067,
    "h": 119.4
  },
  "luminance": 0.69585
}

Semantic roles & 50–950 ramp

primary
#CCE474
secondary
#5C43BA
accent
#16CF3E
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE474

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

Preview Lab → · Contrast checker → · Palette generator →

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