#CCF172#CCF172

#CCF172 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.6% C 0.159 H 123.1°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#CCF172
RGBrgb(204, 241, 114)
HSLhsl(77, 82%, 70%)
HSVhsv(77, 53%, 95%)
CMYKcmyk(15.4%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.30, -30.74, 56.64)
CIE-LCHlch(90.30, 64.45, 118.49°)
OKLaboklab(90.58% -0.087 0.1335)
OKLCHoklch(90.58% 0.159 123.1)
XYZxyz(59.3947, 76.9626, 27.6425)
Luminance0.7696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF172 #9772F1
analogous
#F1D672 #CCF172 #8DF172
triadic
#CCF172 #72CCF1 #F172CC
tetradic
#CCF172 #72F1D6 #9772F1 #F1728D
square
#CCF172 #72F1D6 #9772F1 #F1728D
split-complementary
#CCF172 #728DF1 #D672F1
monochromatic
#9CD415 #B8EB3A #CCF172 #E0F7AA #F4FCE1

Accessibility & contrast

On white

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

On black

16.39
#CCF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF172
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF172#FFFFFF#000000##000000
##CCF1721.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#D4E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf172;
/* rgb */ color: rgb(204, 241, 114);
/* oklch */ color: oklch(90.6% 0.159 123.1);
Tailwind
colors: {
  custom: {
    50: '#def59e',
    500: '#ccf172',
    950: '#000000',
  },
}
SCSS
$custom: #ccf172;
$custom-light: #def59e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf172",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 77.48,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90579,
    "c": 0.15932,
    "h": 123.1
  },
  "luminance": 0.76963
}

Semantic roles & 50–950 ramp

primary
#CCF172
secondary
#663DCA
accent
#07DE46
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF172

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

Preview Lab → · Contrast checker → · Palette generator →

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