#CCF98D#CCF98D

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

Color values

HEX#CCF98D
RGBrgb(204, 249, 141)
HSLhsl(85, 90%, 76%)
HSVhsv(85, 43%, 98%)
CMYKcmyk(18.1%, 0%, 43.4%, 2.4%)
CIE-LABlab(92.80, -31.67, 47.06)
CIE-LCHlch(92.80, 56.72, 123.94°)
OKLaboklab(92.69% -0.0876 0.1142)
OKLCHoklch(92.69% 0.144 127.5)
XYZxyz(63.5847, 82.5110, 37.7705)
Luminance0.8251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF98D #BA8DF9
analogous
#F9F08D #CCF98D #96F98D
triadic
#CCF98D #8DCCF9 #F98DCC
tetradic
#CCF98D #8DF9F0 #BA8DF9 #F98D96
square
#CCF98D #8DF9F0 #BA8DF9 #F98D96
split-complementary
#CCF98D #8D96F9 #F08DF9
monochromatic
#98F319 #B2F653 #CCF98D #E6FCC7 #F2FDE2

Accessibility & contrast

On white

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

On black

17.50
#CCF98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF98D
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF98D#FFFFFF#000000##000000
##CCF98D1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf98d;
/* rgb */ color: rgb(204, 249, 141);
/* oklch */ color: oklch(92.7% 0.144 127.5);
Tailwind
colors: {
  custom: {
    50: '#ddfbb0',
    500: '#ccf98d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf98d;
$custom-light: #ddfbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf98d",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 141
  },
  "hsl": {
    "h": 85,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.9269,
    "c": 0.14387,
    "h": 127.5
  },
  "luminance": 0.82512
}

Semantic roles & 50–950 ramp

primary
#CCF98D
secondary
#8A52D8
accent
#00E660
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151711
muted
#848581

Preview Lab

Preview with #CCF98D

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

Preview Lab → · Contrast checker → · Palette generator →

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