#CCE456#CCE456

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

Color values

HEX#CCE456
RGBrgb(204, 228, 86)
HSLhsl(70, 72%, 62%)
HSVhsv(70, 62%, 89%)
CMYKcmyk(10.5%, 0%, 62.3%, 10.6%)
CIE-LABlab(86.50, -26.87, 64.46)
CIE-LCHlch(86.50, 69.84, 112.63°)
OKLaboklab(87.44% -0.0787 0.1472)
OKLCHoklch(87.44% 0.167 118.2)
XYZxyz(54.3259, 68.9965, 19.2580)
Luminance0.6900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE456 #6E56E4
analogous
#E4B556 #CCE456 #85E456
triadic
#CCE456 #56CCE4 #E456CC
tetradic
#CCE456 #56E4B5 #6E56E4 #E45685
square
#CCE456 #56E4B5 #6E56E4 #E45685
split-complementary
#CCE456 #5685E4 #B556E4
monochromatic
#8EA51A #BBDA23 #CCE456 #DCEC8B #ECF5C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE456#FFFFFF#000000##000000
##CCE4561.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)
#F2D844
Deuteranopia (green-blind)
#F0D960
Tritanopia (blue-blind)
#D7D8C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce456;
/* rgb */ color: rgb(204, 228, 86);
/* oklch */ color: oklch(87.4% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#deec8c',
    500: '#cce456',
    950: '#000000',
  },
}
SCSS
$custom: #cce456;
$custom-light: #deec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce456",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 86
  },
  "hsl": {
    "h": 70.141,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8744,
    "c": 0.16689,
    "h": 118.2
  },
  "luminance": 0.68996
}

Semantic roles & 50–950 ramp

primary
#CCE456
secondary
#4A37A7
accent
#11D532
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE456

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

Preview Lab → · Contrast checker → · Palette generator →

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