#CCFA7A#CCFA7A

#CCFA7A is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.7% C 0.164 H 125.8°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#CCFA7A
RGBrgb(204, 250, 122)
HSLhsl(82, 93%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.4%, 0%, 51.2%, 2%)
CIE-LABlab(92.84, -34.13, 56.01)
CIE-LCHlch(92.84, 65.59, 121.36°)
OKLaboklab(92.65% -0.0958 0.1328)
OKLCHoklch(92.65% 0.164 125.8)
XYZxyz(62.6002, 82.6131, 31.0565)
Luminance0.8261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7A #A87AFA
analogous
#FAE87A #CCFA7A #8CFA7A
triadic
#CCFA7A #7ACCFA #FA7ACC
tetradic
#CCFA7A #7AFAE8 #A87AFA #FA7A8C
square
#CCFA7A #7AFAE8 #A87AFA #FA7A8C
split-complementary
#CCFA7A #7A8CFA #E87AFA
monochromatic
#9DF109 #B5F83F #CCFA7A #E3FCB5 #F4FEE2

Accessibility & contrast

On white

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

On black

17.52
#CCFA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFA7A
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFA7A#FFFFFF#000000##000000
##CCFA7A1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccfa7a;
/* rgb */ color: rgb(204, 250, 122);
/* oklch */ color: oklch(92.7% 0.164 125.8);
Tailwind
colors: {
  custom: {
    50: '#defca3',
    500: '#ccfa7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7a;
$custom-light: #defca3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7a",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 81.563,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92652,
    "c": 0.16373,
    "h": 125.8
  },
  "luminance": 0.82614
}

Semantic roles & 50–950 ramp

primary
#CCFA7A
secondary
#7741D7
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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