#CCE98D#CCE98D

#CCE98D is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.2% C 0.121 H 123.1°. Best body text is #000000 at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#CCE98D
RGBrgb(204, 233, 141)
HSLhsl(79, 68%, 73%)
HSVhsv(79, 39%, 91%)
CMYKcmyk(12.4%, 0%, 39.5%, 8.6%)
CIE-LABlab(88.47, -24.13, 41.57)
CIE-LCHlch(88.47, 48.07, 120.13°)
OKLaboklab(89.21% -0.0664 0.1017)
OKLCHoklch(89.21% 0.121 123.1)
XYZxyz(58.8483, 73.0381, 36.1916)
Luminance0.7304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE98D #AA8DE9
analogous
#E9D88D #CCE98D #9EE98D
triadic
#CCE98D #8DCCE9 #E98DCC
tetradic
#CCE98D #8DE9D8 #AA8DE9 #E98D9E
square
#CCE98D #8DE9D8 #AA8DE9 #E98D9E
split-complementary
#CCE98D #8D9EE9 #D88DE9
monochromatic
#9DD329 #B5DF5A #CCE98D #E3F3C0 #F4FAE5

Accessibility & contrast

On white

1.35
#CCE98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.61
#CCE98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE98D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE98D#FFFFFF#000000##000000
##CCE98D1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DF86
Deuteranopia (green-blind)
#EFDE92
Tritanopia (blue-blind)
#D3E1D2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cce98d;
/* rgb */ color: rgb(204, 233, 141);
/* oklch */ color: oklch(89.2% 0.121 123.1);
Tailwind
colors: {
  custom: {
    50: '#ddf0af',
    500: '#cce98d',
    950: '#000000',
  },
}
SCSS
$custom: #cce98d;
$custom-light: #ddf0af;
$custom-dark: #000000;
JSON
{
  "hex": "#cce98d",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 78.913,
    "s": 67.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89211,
    "c": 0.12145,
    "h": 123.1
  },
  "luminance": 0.73038
}

Semantic roles & 50–950 ramp

primary
#CCE98D
secondary
#7957C3
accent
#16D050
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCE98D

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

Preview Lab → · Contrast checker → · Palette generator →

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