#CCFF7E#CCFF7E

#CCFF7E is a very light, vivid yellow-green. Relative luminance 0.859; OKLCH L 93.8% C 0.167 H 127.2°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#CCFF7E
RGBrgb(204, 255, 126)
HSLhsl(84, 100%, 75%)
HSVhsv(84, 51%, 100%)
CMYKcmyk(20%, 0%, 50.6%, 0%)
CIE-LABlab(94.25, -36.01, 55.87)
CIE-LCHlch(94.25, 66.47, 122.81°)
OKLaboklab(93.8% -0.1007 0.1328)
OKLCHoklch(93.8% 0.167 127.2)
XYZxyz(64.4274, 85.8628, 32.9135)
Luminance0.8586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCFF7E #B17EFF
analogous
#FFF27E #CCFF7E #8CFF7E
triadic
#CCFF7E #7ECCFF #FF7ECC
tetradic
#CCFF7E #7EFFF2 #B17EFF #FF7E8C
square
#CCFF7E #7EFFF2 #B17EFF #FF7E8C
split-complementary
#CCFF7E #7E8CFF #F27EFF
monochromatic
#9CFF04 #B4FF41 #CCFF7E #E4FFBB #F3FFE0

Accessibility & contrast

On white

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

On black

18.17
#CCFF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCFF7E
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCFF7E#FFFFFF#000000##000000
##CCFF7E1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF172
Deuteranopia (green-blind)
#FFEE86
Tritanopia (blue-blind)
#D2F5E2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ccff7e;
/* rgb */ color: rgb(204, 255, 126);
/* oklch */ color: oklch(93.8% 0.167 127.2);
Tailwind
colors: {
  custom: {
    50: '#deffa6',
    500: '#ccff7e',
    950: '#000000',
  },
}
SCSS
$custom: #ccff7e;
$custom-light: #deffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccff7e",
  "rgb": {
    "r": 204,
    "g": 255,
    "b": 126
  },
  "hsl": {
    "h": 83.721,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93803,
    "c": 0.16666,
    "h": 127.2
  },
  "luminance": 0.85864
}

Semantic roles & 50–950 ramp

primary
#CCFF7E
secondary
#8043DE
accent
#00E65B
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151810
muted
#848680

Preview Lab

Preview with #CCFF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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