#CCFA7C#CCFA7C

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

Color values

HEX#CCFA7C
RGBrgb(204, 250, 124)
HSLhsl(82, 93%, 73%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18.4%, 0%, 50.4%, 2%)
CIE-LABlab(92.87, -33.94, 55.12)
CIE-LCHlch(92.87, 64.73, 121.62°)
OKLaboklab(92.68% -0.0951 0.131)
OKLCHoklch(92.68% 0.162 126)
XYZxyz(62.7254, 82.6631, 31.7158)
Luminance0.8266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7C #AA7CFA
analogous
#FAE97C #CCFA7C #8DFA7C
triadic
#CCFA7C #7CCCFA #FA7CCC
tetradic
#CCFA7C #7CFAE9 #AA7CFA #FA7C8D
square
#CCFA7C #7CFAE9 #AA7CFA #FA7C8D
split-complementary
#CCFA7C #7C8DFA #E97CFA
monochromatic
#9DF209 #B5F841 #CCFA7C #E3FCB7 #F4FEE2

Accessibility & contrast

On white

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

On black

17.53
#CCFA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA7C
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA7C#FFFFFF#000000##000000
##CCFA7C1.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D3F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccfa7c;
/* rgb */ color: rgb(204, 250, 124);
/* oklch */ color: oklch(92.7% 0.162 126.0);
Tailwind
colors: {
  custom: {
    50: '#defca5',
    500: '#ccfa7c',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7c;
$custom-light: #defca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7c",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 81.905,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92677,
    "c": 0.16188,
    "h": 126
  },
  "luminance": 0.82664
}

Semantic roles & 50–950 ramp

primary
#CCFA7C
secondary
#7943D7
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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