#CCFF7A#CCFF7A

#CCFF7A is a very light, vivid yellow-green. Relative luminance 0.858; OKLCH L 93.8% C 0.170 H 126.8°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#CCFF7A
RGBrgb(204, 255, 122)
HSLhsl(83, 100%, 74%)
HSVhsv(83, 52%, 100%)
CMYKcmyk(20%, 0%, 52.2%, 0%)
CIE-LABlab(94.21, -36.40, 57.63)
CIE-LCHlch(94.21, 68.16, 122.28°)
OKLaboklab(93.75% -0.1021 0.1363)
OKLCHoklch(93.75% 0.17 126.8)
XYZxyz(64.1745, 85.7616, 31.5812)
Luminance0.8576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF7A #AD7AFF
analogous
#FFF07A #CCFF7A #8AFF7A
triadic
#CCFF7A #7ACCFF #FF7ACC
tetradic
#CCFF7A #7AFFF0 #AD7AFF #FF7A8A
square
#CCFF7A #7AFFF0 #AD7AFF #FF7A8A
split-complementary
#CCFF7A #7A8AFF #F07AFF
monochromatic
#9DFF00 #B5FF3D #CCFF7A #E3FFB7 #F3FFE0

Accessibility & contrast

On white

1.16
#CCFF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#CCFF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF7A
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF7A#FFFFFF#000000##000000
##CCFF7A1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06D
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#D2F5E1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ccff7a;
/* rgb */ color: rgb(204, 255, 122);
/* oklch */ color: oklch(93.8% 0.170 126.8);
Tailwind
colors: {
  custom: {
    50: '#deffa4',
    500: '#ccff7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccff7a;
$custom-light: #deffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff7a",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 122
  },
  "hsl": {
    "h": 83.008,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.93754,
    "c": 0.17033,
    "h": 126.8
  },
  "luminance": 0.85763
}

Semantic roles & 50–950 ramp

primary
#CCFF7A
secondary
#7C40DD
accent
#00E658
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15180F
muted
#848680

Preview Lab

Preview with #CCFF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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