#CCF98E#CCF98E

#CCF98E is a very light, vivid yellow-green. Relative luminance 0.825; OKLCH L 92.7% C 0.143 H 127.6°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CCF98E
RGBrgb(204, 249, 142)
HSLhsl(85, 90%, 77%)
HSVhsv(85, 43%, 98%)
CMYKcmyk(18.1%, 0%, 43%, 2.4%)
CIE-LABlab(92.81, -31.56, 46.59)
CIE-LCHlch(92.81, 56.27, 124.11°)
OKLaboklab(92.71% -0.0872 0.1132)
OKLCHoklch(92.71% 0.143 127.6)
XYZxyz(63.6595, 82.5409, 38.1641)
Luminance0.8254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF98E #BB8EF9
analogous
#F9F18E #CCF98E #97F98E
triadic
#CCF98E #8ECCF9 #F98ECC
tetradic
#CCF98E #8EF9F1 #BB8EF9 #F98E97
square
#CCF98E #8EF9F1 #BB8EF9 #F98E97
split-complementary
#CCF98E #8E97F9 #F18EF9
monochromatic
#98F31A #B2F654 #CCF98E #E6FCC8 #F2FDE2

Accessibility & contrast

On white

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

On black

17.51
#CCF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF98E
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF98E#FFFFFF#000000##000000
##CCF98E1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FCEA94
Tritanopia (blue-blind)
#D1F0DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf98e;
/* rgb */ color: rgb(204, 249, 142);
/* oklch */ color: oklch(92.7% 0.143 127.6);
Tailwind
colors: {
  custom: {
    50: '#ddfbb0',
    500: '#ccf98e',
    950: '#000000',
  },
}
SCSS
$custom: #ccf98e;
$custom-light: #ddfbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf98e",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 85.234,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92705,
    "c": 0.14286,
    "h": 127.6
  },
  "luminance": 0.82542
}

Semantic roles & 50–950 ramp

primary
#CCF98E
secondary
#8B53D8
accent
#00E661
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CCF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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