#CCF97E#CCF97E

#CCF97E is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.5% C 0.159 H 125.9°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#CCF97E
RGBrgb(204, 249, 126)
HSLhsl(82, 91%, 74%)
HSVhsv(82, 49%, 98%)
CMYKcmyk(18.1%, 0%, 49.4%, 2.4%)
CIE-LABlab(92.62, -33.28, 53.90)
CIE-LCHlch(92.62, 63.35, 121.69°)
OKLaboklab(92.48% -0.0931 0.1285)
OKLCHoklch(92.48% 0.159 125.9)
XYZxyz(62.5433, 82.0944, 32.2854)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97E #AB7EF9
analogous
#F9E87E #CCF97E #8EF97E
triadic
#CCF97E #7ECCF9 #F97ECC
tetradic
#CCF97E #7EF9E8 #AB7EF9 #F97E8E
square
#CCF97E #7EF9E8 #AB7EF9 #F97E8E
split-complementary
#CCF97E #7E8EF9 #E87EF9
monochromatic
#9DF10B #B5F644 #CCF97E #E3FCB8 #F3FEE2

Accessibility & contrast

On white

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

On black

17.42
#CCF97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF97E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF97E#FFFFFF#000000##000000
##CCF97E1.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB73
Deuteranopia (green-blind)
#FEE985
Tritanopia (blue-blind)
#D3EFDD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97e;
/* rgb */ color: rgb(204, 249, 126);
/* oklch */ color: oklch(92.5% 0.159 125.9);
Tailwind
colors: {
  custom: {
    50: '#defba6',
    500: '#ccf97e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97e;
$custom-light: #defba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97e",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 126
  },
  "hsl": {
    "h": 81.951,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.92483,
    "c": 0.15867,
    "h": 125.9
  },
  "luminance": 0.82095
}

Semantic roles & 50–950 ramp

primary
#CCF97E
secondary
#7A45D6
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#151710
muted
#848580

Preview Lab

Preview with #CCF97E

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

Preview Lab → · Contrast checker → · Palette generator →

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