#CCE98C#CCE98C

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

Color values

HEX#CCE98C
RGBrgb(204, 233, 140)
HSLhsl(79, 68%, 73%)
HSVhsv(79, 40%, 91%)
CMYKcmyk(12.4%, 0%, 39.9%, 8.6%)
CIE-LABlab(88.45, -24.25, 42.05)
CIE-LCHlch(88.45, 48.54, 119.97°)
OKLaboklab(89.2% -0.0668 0.1028)
OKLCHoklch(89.2% 0.123 123)
XYZxyz(58.7742, 73.0085, 35.8015)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE98C #A98CE9
analogous
#E9D88C #CCE98C #9DE98C
triadic
#CCE98C #8CCCE9 #E98CCC
tetradic
#CCE98C #8CE9D8 #A98CE9 #E98C9D
square
#CCE98C #8CE9D8 #A98CE9 #E98C9D
split-complementary
#CCE98C #8C9DE9 #D88CE9
monochromatic
#9DD228 #B5DF59 #CCE98C #E3F3BF #F4FAE5

Accessibility & contrast

On white

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

On black

15.60
#CCE98C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE98C
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE98C#FFFFFF#000000##000000
##CCE98C1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce98c;
/* rgb */ color: rgb(204, 233, 140);
/* oklch */ color: oklch(89.2% 0.123 123.0);
Tailwind
colors: {
  custom: {
    50: '#ddf0af',
    500: '#cce98c',
    950: '#000000',
  },
}
SCSS
$custom: #cce98c;
$custom-light: #ddf0af;
$custom-dark: #000000;
JSON
{
  "hex": "#cce98c",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 140
  },
  "hsl": {
    "h": 78.71,
    "s": 67.883,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89195,
    "c": 0.12254,
    "h": 123
  },
  "luminance": 0.73009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE98C

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

Preview Lab → · Contrast checker → · Palette generator →

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