#CCE562#CCE562

#CCE562 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.8% C 0.158 H 118.9°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#CCE562
RGBrgb(204, 229, 98)
HSLhsl(71, 72%, 64%)
HSVhsv(71, 57%, 90%)
CMYKcmyk(10.9%, 0%, 57.2%, 10.2%)
CIE-LABlab(86.88, -26.46, 59.82)
CIE-LCHlch(86.88, 65.41, 113.87°)
OKLaboklab(87.78% -0.0764 0.1387)
OKLCHoklch(87.78% 0.158 118.9)
XYZxyz(55.1265, 69.7582, 22.1135)
Luminance0.6976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE562 #7B62E5
analogous
#E5BC62 #CCE562 #8BE562
triadic
#CCE562 #62CCE5 #E562CC
tetradic
#CCE562 #62E5BC #7B62E5 #E5628B
square
#CCE562 #62E5BC #7B62E5 #E5628B
split-complementary
#CCE562 #628BE5 #BC62E5
monochromatic
#94B01D #BBDC2D #CCE562 #DDEE97 #EEF6CB

Accessibility & contrast

On white

1.40
#CCE562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#CCE562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE562
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE562#FFFFFF#000000##000000
##CCE5621.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F0DA6A
Tritanopia (blue-blind)
#D7DAC9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #cce562;
/* rgb */ color: rgb(204, 229, 98);
/* oklch */ color: oklch(87.8% 0.158 118.9);
Tailwind
colors: {
  custom: {
    50: '#deed93',
    500: '#cce562',
    950: '#000000',
  },
}
SCSS
$custom: #cce562;
$custom-light: #deed93;
$custom-dark: #000000;
JSON
{
  "hex": "#cce562",
  "rgb": {
    "r": 204,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 71.45,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87775,
    "c": 0.1584,
    "h": 118.9
  },
  "luminance": 0.69758
}

Semantic roles & 50–950 ramp

primary
#CCE562
secondary
#513BB1
accent
#12D437
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE562

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

Preview Lab → · Contrast checker → · Palette generator →

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