#CCFA7D#CCFA7D

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

Color values

HEX#CCFA7D
RGBrgb(204, 250, 125)
HSLhsl(82, 93%, 74%)
HSVhsv(82, 50%, 98%)
CMYKcmyk(18.4%, 0%, 50%, 2%)
CIE-LABlab(92.88, -33.84, 54.68)
CIE-LCHlch(92.88, 64.30, 121.75°)
OKLaboklab(92.69% -0.0947 0.1301)
OKLCHoklch(92.69% 0.161 126.1)
XYZxyz(62.7890, 82.6886, 32.0506)
Luminance0.8269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFA7D #AB7DFA
analogous
#FAE97D #CCFA7D #8DFA7D
triadic
#CCFA7D #7DCCFA #FA7DCC
tetradic
#CCFA7D #7DFAE9 #AB7DFA #FA7D8D
square
#CCFA7D #7DFAE9 #AB7DFA #FA7D8D
split-complementary
#CCFA7D #7D8DFA #E97DFA
monochromatic
#9DF309 #B5F842 #CCFA7D #E3FCB8 #F3FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCFA7D#FFFFFF#000000##000000
##CCFA7D1.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)
#FFEC72
Deuteranopia (green-blind)
#FFEA84
Tritanopia (blue-blind)
#D3F0DD
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ccfa7d;
/* rgb */ color: rgb(204, 250, 125);
/* oklch */ color: oklch(92.7% 0.161 126.1);
Tailwind
colors: {
  custom: {
    50: '#defca5',
    500: '#ccfa7d',
    950: '#000000',
  },
}
SCSS
$custom: #ccfa7d;
$custom-light: #defca5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccfa7d",
  "rgb": {
    "r": 204,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 82.08,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.9269,
    "c": 0.16094,
    "h": 126.1
  },
  "luminance": 0.82689
}

Semantic roles & 50–950 ramp

primary
#CCFA7D
secondary
#7A44D7
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCFA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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