#CCFA7E#CCFA7E

#CCFA7E is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.160 H 126.1°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#CCFA7E
RGBrgb(204, 250, 126)
HSLhsl(82, 93%, 74%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18.4%, 0%, 49.6%, 2%)
CIE-LABlab(92.89, -33.74, 54.23)
CIE-LCHlch(92.89, 63.87, 121.89°)
OKLaboklab(92.7% -0.0944 0.1292)
OKLCHoklch(92.7% 0.16 126.1)
XYZxyz(62.8532, 82.7143, 32.3887)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7E #AC7EFA
analogous
#FAEA7E #CCFA7E #8EFA7E
triadic
#CCFA7E #7ECCFA #FA7ECC
tetradic
#CCFA7E #7EFAEA #AC7EFA #FA7E8E
square
#CCFA7E #7EFAEA #AC7EFA #FA7E8E
split-complementary
#CCFA7E #7E8EFA #EA7EFA
monochromatic
#9DF409 #B5F843 #CCFA7E #E3FCB9 #F3FEE2

Accessibility & contrast

On white

1.20
#CCFA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#CCFA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA7E
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA7E#FFFFFF#000000##000000
##CCFA7E1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC73
Deuteranopia (green-blind)
#FFEA85
Tritanopia (blue-blind)
#D2F0DE
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfa7e;
/* rgb */ color: rgb(204, 250, 126);
/* oklch */ color: oklch(92.7% 0.160 126.1);
Tailwind
colors: {
  custom: {
    50: '#defca6',
    500: '#ccfa7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7e;
$custom-light: #defca6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7e",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 82.258,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92703,
    "c": 0.16,
    "h": 126.1
  },
  "luminance": 0.82715
}

Semantic roles & 50–950 ramp

primary
#CCFA7E
secondary
#7B45D7
accent
#00E655
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCFA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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