#CCF270#CCF270

#CCF270 is a very light, vivid yellow-green. Relative luminance 0.775; OKLCH L 90.8% C 0.162 H 123.2°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#CCF270
RGBrgb(204, 242, 112)
HSLhsl(78, 83%, 69%)
HSVhsv(78, 54%, 95%)
CMYKcmyk(15.7%, 0%, 53.7%, 5.1%)
CIE-LABlab(90.56, -31.38, 57.84)
CIE-LCHlch(90.56, 65.80, 118.48°)
OKLaboklab(90.78% -0.0889 0.1359)
OKLCHoklch(90.78% 0.162 123.2)
XYZxyz(59.5789, 77.5112, 27.1485)
Luminance0.7751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF270 #9670F2
analogous
#F2D770 #CCF270 #8BF270
triadic
#CCF270 #70CCF2 #F270CC
tetradic
#CCF270 #70F2D7 #9670F2 #F2708B
square
#CCF270 #70F2D7 #9670F2 #F2708B
split-complementary
#CCF270 #708BF2 #D770F2
monochromatic
#9CD413 #B8ED38 #CCF270 #E0F7A8 #F4FCE0

Accessibility & contrast

On white

1.27
#CCF270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#CCF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF270
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF270#FFFFFF#000000##000000
##CCF2701.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE563
Deuteranopia (green-blind)
#F9E478
Tritanopia (blue-blind)
#D4E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf270;
/* rgb */ color: rgb(204, 242, 112);
/* oklch */ color: oklch(90.8% 0.162 123.2);
Tailwind
colors: {
  custom: {
    50: '#def69d',
    500: '#ccf270',
    950: '#000000',
  },
}
SCSS
$custom: #ccf270;
$custom-light: #def69d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf270",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 77.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90775,
    "c": 0.16242,
    "h": 123.2
  },
  "luminance": 0.77511
}

Semantic roles & 50–950 ramp

primary
#CCF270
secondary
#653BCB
accent
#06E045
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF270

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

Preview Lab → · Contrast checker → · Palette generator →

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