#CCF562#CCF562

#CCF562 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.3% C 0.178 H 123.1°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#CCF562
RGBrgb(204, 245, 98)
HSLhsl(77, 88%, 67%)
HSVhsv(77, 60%, 96%)
CMYKcmyk(16.7%, 0%, 60%, 3.9%)
CIE-LABlab(91.25, -33.92, 64.67)
CIE-LCHlch(91.25, 73.03, 117.68°)
OKLaboklab(91.29% -0.0973 0.1491)
OKLCHoklch(91.29% 0.178 123.1)
XYZxyz(59.7593, 79.0238, 23.6577)
Luminance0.7902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF562 #8B62F5
analogous
#F5D562 #CCF562 #82F562
triadic
#CCF562 #62CCF5 #F562CC
tetradic
#CCF562 #62F5D5 #8B62F5 #F56282
square
#CCF562 #62F5D5 #8B62F5 #F56282
split-complementary
#CCF562 #6282F5 #D562F5
monochromatic
#99CF0D #B9F128 #CCF562 #DFF99C #F1FCD5

Accessibility & contrast

On white

1.25
#CCF562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#CCF562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF562
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF562#FFFFFF#000000##000000
##CCF5621.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FDE66C
Tritanopia (blue-blind)
#D5EAD6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf562;
/* rgb */ color: rgb(204, 245, 98);
/* oklch */ color: oklch(91.3% 0.178 123.1);
Tailwind
colors: {
  custom: {
    50: '#def894',
    500: '#ccf562',
    950: '#000000',
  },
}
SCSS
$custom: #ccf562;
$custom-light: #def894;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf562",
  "rgb": {
    "r": 204,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 76.735,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91288,
    "c": 0.178,
    "h": 123.1
  },
  "luminance": 0.79024
}

Semantic roles & 50–950 ramp

primary
#CCF562
secondary
#5B30CB
accent
#01E540
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF562

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

Preview Lab → · Contrast checker → · Palette generator →

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