#CCFA7F#CCFA7F

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

Color values

HEX#CCFA7F
RGBrgb(204, 250, 127)
HSLhsl(82, 92%, 74%)
HSVhsv(82, 49%, 98%)
CMYKcmyk(18.4%, 0%, 49.2%, 2%)
CIE-LABlab(92.90, -33.64, 53.78)
CIE-LCHlch(92.90, 63.44, 122.02°)
OKLaboklab(92.72% -0.094 0.1283)
OKLCHoklch(92.72% 0.159 126.2)
XYZxyz(62.9180, 82.7402, 32.7302)
Luminance0.8274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7F #AD7FFA
analogous
#FAEB7F #CCFA7F #8FFA7F
triadic
#CCFA7F #7FCCFA #FA7FCC
tetradic
#CCFA7F #7FFAEB #AD7FFA #FA7F8F
square
#CCFA7F #7FFAEB #AD7FFA #FA7F8F
split-complementary
#CCFA7F #7F8FFA #EB7FFA
monochromatic
#9DF50A #B5F844 #CCFA7F #E3FCBA #F3FEE2

Accessibility & contrast

On white

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

On black

17.55
#CCFA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA7F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA7F#FFFFFF#000000##000000
##CCFA7F1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccfa7f;
/* rgb */ color: rgb(204, 250, 127);
/* oklch */ color: oklch(92.7% 0.159 126.2);
Tailwind
colors: {
  custom: {
    50: '#defca7',
    500: '#ccfa7f',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7f;
$custom-light: #defca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7f",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 127
  },
  "hsl": {
    "h": 82.439,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92716,
    "c": 0.15905,
    "h": 126.2
  },
  "luminance": 0.82741
}

Semantic roles & 50–950 ramp

primary
#CCFA7F
secondary
#7C46D7
accent
#00E656
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCFA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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