#CCF370#CCF370

#CCF370 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.0% C 0.164 H 123.4°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#CCF370
RGBrgb(204, 243, 112)
HSLhsl(78, 85%, 70%)
HSVhsv(78, 54%, 95%)
CMYKcmyk(16%, 0%, 53.9%, 4.7%)
CIE-LABlab(90.83, -31.85, 58.15)
CIE-LCHlch(90.83, 66.30, 118.71°)
OKLaboklab(91% -0.0902 0.1366)
OKLCHoklch(91% 0.164 123.4)
XYZxyz(59.8773, 78.1081, 27.2480)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF370 #9770F3
analogous
#F3D970 #CCF370 #8AF370
triadic
#CCF370 #70CCF3 #F370CC
tetradic
#CCF370 #70F3D9 #9770F3 #F3708A
square
#CCF370 #70F3D9 #9770F3 #F3708A
split-complementary
#CCF370 #708AF3 #D970F3
monochromatic
#9CD712 #B8EE38 #CCF370 #E0F8A8 #F4FCE1

Accessibility & contrast

On white

1.26
#CCF370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#CCF370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF370
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF370#FFFFFF#000000##000000
##CCF3701.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FAE478
Tritanopia (blue-blind)
#D4E8D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ccf370;
/* rgb */ color: rgb(204, 243, 112);
/* oklch */ color: oklch(91.0% 0.164 123.4);
Tailwind
colors: {
  custom: {
    50: '#def79d',
    500: '#ccf370',
    950: '#000000',
  },
}
SCSS
$custom: #ccf370;
$custom-light: #def79d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf370",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 77.863,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90995,
    "c": 0.1637,
    "h": 123.4
  },
  "luminance": 0.78108
}

Semantic roles & 50–950 ramp

primary
#CCF370
secondary
#663BCD
accent
#05E146
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF370

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

Preview Lab → · Contrast checker → · Palette generator →

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