#CCF87E#CCF87E

#CCF87E is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.3% C 0.157 H 125.7°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#CCF87E
RGBrgb(204, 248, 126)
HSLhsl(82, 90%, 73%)
HSVhsv(82, 49%, 97%)
CMYKcmyk(17.7%, 0%, 49.2%, 2.7%)
CIE-LABlab(92.34, -32.82, 53.58)
CIE-LCHlch(92.34, 62.83, 121.49°)
OKLaboklab(92.26% -0.0918 0.1278)
OKLCHoklch(92.26% 0.157 125.7)
XYZxyz(62.2350, 81.4779, 32.1827)
Luminance0.8148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF87E #AA7EF8
analogous
#F8E77E #CCF87E #8FF87E
triadic
#CCF87E #7ECCF8 #F87ECC
tetradic
#CCF87E #7EF8E7 #AA7EF8 #F87E8F
square
#CCF87E #7EF8E7 #AA7EF8 #F87E8F
split-complementary
#CCF87E #7E8FF8 #E77EF8
monochromatic
#9DEF0D #B5F544 #CCF87E #E3FBB8 #F4FDE2

Accessibility & contrast

On white

1.21
#CCF87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#CCF87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF87E
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF87E#FFFFFF#000000##000000
##CCF87E1.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FDE885
Tritanopia (blue-blind)
#D3EEDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf87e;
/* rgb */ color: rgb(204, 248, 126);
/* oklch */ color: oklch(92.3% 0.157 125.7);
Tailwind
colors: {
  custom: {
    50: '#ddfaa6',
    500: '#ccf87e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf87e;
$custom-light: #ddfaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf87e",
  "rgb": {
    "r": 204,
    "g": 248,
    "b": 126
  },
  "hsl": {
    "h": 81.639,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92264,
    "c": 0.15733,
    "h": 125.7
  },
  "luminance": 0.81479
}

Semantic roles & 50–950 ramp

primary
#CCF87E
secondary
#7946D5
accent
#00E653
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF87E

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

Preview Lab → · Contrast checker → · Palette generator →

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