#CCF170#CCF170

#CCF170 is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.161 H 122.9°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#CCF170
RGBrgb(204, 241, 112)
HSLhsl(77, 82%, 69%)
HSVhsv(77, 54%, 95%)
CMYKcmyk(15.4%, 0%, 53.5%, 5.5%)
CIE-LABlab(90.28, -30.92, 57.52)
CIE-LCHlch(90.28, 65.30, 118.26°)
OKLaboklab(90.56% -0.0876 0.1352)
OKLCHoklch(90.56% 0.161 122.9)
XYZxyz(59.2821, 76.9176, 27.0495)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF170 #9570F1
analogous
#F1D570 #CCF170 #8CF170
triadic
#CCF170 #70CCF1 #F170CC
tetradic
#CCF170 #70F1D5 #9570F1 #F1708C
square
#CCF170 #70F1D5 #9570F1 #F1708C
split-complementary
#CCF170 #708CF1 #D570F1
monochromatic
#9CD215 #B8EC38 #CCF170 #E0F6A8 #F4FCDF

Accessibility & contrast

On white

1.28
#CCF170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#CCF170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF170
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF170#FFFFFF#000000##000000
##CCF1701.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE463
Deuteranopia (green-blind)
#F8E378
Tritanopia (blue-blind)
#D4E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf170;
/* rgb */ color: rgb(204, 241, 112);
/* oklch */ color: oklch(90.6% 0.161 122.9);
Tailwind
colors: {
  custom: {
    50: '#def59c',
    500: '#ccf170',
    950: '#000000',
  },
}
SCSS
$custom: #ccf170;
$custom-light: #def59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf170",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 77.209,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90556,
    "c": 0.16114,
    "h": 122.9
  },
  "luminance": 0.76918
}

Semantic roles & 50–950 ramp

primary
#CCF170
secondary
#643BCA
accent
#07DF45
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF170

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

Preview Lab → · Contrast checker → · Palette generator →

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