#CCF17E#CCF17E

#CCF17E is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.148 H 124.0°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#CCF17E
RGBrgb(204, 241, 126)
HSLhsl(79, 80%, 72%)
HSVhsv(79, 48%, 95%)
CMYKcmyk(15.4%, 0%, 47.7%, 5.5%)
CIE-LABlab(90.44, -29.58, 51.27)
CIE-LCHlch(90.44, 59.19, 119.98°)
OKLaboklab(90.73% -0.0827 0.1227)
OKLCHoklch(90.73% 0.148 124)
XYZxyz(60.1230, 77.2540, 31.4787)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF17E #A37EF1
analogous
#F1DC7E #CCF17E #93F17E
triadic
#CCF17E #7ECCF1 #F17ECC
tetradic
#CCF17E #7EF1DC #A37EF1 #F17E93
square
#CCF17E #7EF1DC #A37EF1 #F17E93
split-complementary
#CCF17E #7E93F1 #DC7EF1
monochromatic
#9DDD18 #B6EB47 #CCF17E #E2F7B5 #F4FCE3

Accessibility & contrast

On white

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

On black

16.45
#CCF17E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF17E
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF17E#FFFFFF#000000##000000
##CCF17E1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE574
Deuteranopia (green-blind)
#F7E385
Tritanopia (blue-blind)
#D3E7D6
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf17e;
/* rgb */ color: rgb(204, 241, 126);
/* oklch */ color: oklch(90.7% 0.148 124.0);
Tailwind
colors: {
  custom: {
    50: '#ddf5a6',
    500: '#ccf17e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf17e;
$custom-light: #ddf5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf17e",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 126
  },
  "hsl": {
    "h": 79.304,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90731,
    "c": 0.14795,
    "h": 124
  },
  "luminance": 0.77254
}

Semantic roles & 50–950 ramp

primary
#CCF17E
secondary
#7248CC
accent
#09DD4D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF17E

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

Preview Lab → · Contrast checker → · Palette generator →

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