#CCE457#CCE457

#CCE457 is a very light, vivid yellow-green. Relative luminance 0.690; OKLCH L 87.4% C 0.166 H 118.2°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#CCE457
RGBrgb(204, 228, 87)
HSLhsl(70, 72%, 62%)
HSVhsv(70, 62%, 89%)
CMYKcmyk(10.5%, 0%, 61.8%, 10.6%)
CIE-LABlab(86.51, -26.80, 64.06)
CIE-LCHlch(86.51, 69.44, 112.70°)
OKLaboklab(87.45% -0.0785 0.1464)
OKLCHoklch(87.45% 0.166 118.2)
XYZxyz(54.3665, 69.0127, 19.4717)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE457 #6F57E4
analogous
#E4B657 #CCE457 #86E457
triadic
#CCE457 #57CCE4 #E457CC
tetradic
#CCE457 #57E4B6 #6F57E4 #E45786
square
#CCE457 #57E4B6 #6F57E4 #E45786
split-complementary
#CCE457 #5786E4 #B657E4
monochromatic
#8EA61B #BBDB23 #CCE457 #DCEC8C #ECF5C0

Accessibility & contrast

On white

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

On black

14.80
#CCE457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE457
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE457#FFFFFF#000000##000000
##CCE4571.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#D7D8C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce457;
/* rgb */ color: rgb(204, 228, 87);
/* oklch */ color: oklch(87.4% 0.166 118.2);
Tailwind
colors: {
  custom: {
    50: '#deec8c',
    500: '#cce457',
    950: '#000000',
  },
}
SCSS
$custom: #cce457;
$custom-light: #deec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce457",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 70.213,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87449,
    "c": 0.16613,
    "h": 118.2
  },
  "luminance": 0.69012
}

Semantic roles & 50–950 ramp

primary
#CCE457
secondary
#4A37A8
accent
#11D432
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #CCE457

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

Preview Lab → · Contrast checker → · Palette generator →

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