#CCE299#CCE299

#CCE299 is a very light, moderate yellow-green. Relative luminance 0.695; OKLCH L 87.9% C 0.098 H 122.1°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#CCE299
RGBrgb(204, 226, 153)
HSLhsl(78, 56%, 74%)
HSVhsv(78, 32%, 89%)
CMYKcmyk(9.7%, 0%, 32.3%, 11.4%)
CIE-LABlab(86.77, -19.23, 33.34)
CIE-LCHlch(86.77, 38.49, 119.97°)
OKLaboklab(87.91% -0.052 0.083)
OKLCHoklch(87.91% 0.098 122.1)
XYZxyz(57.8476, 69.5300, 40.5039)
Luminance0.6953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE299 #AF99E2
analogous
#E2D499 #CCE299 #A8E299
triadic
#CCE299 #99CCE2 #E299CC
tetradic
#CCE299 #99E2D4 #AF99E2 #E299A8
square
#CCE299 #99E2D4 #AF99E2 #E299A8
split-complementary
#CCE299 #99A8E2 #D499E2
monochromatic
#9CC73A #B4D469 #CCE299 #E4F0C9 #F3F8E7

Accessibility & contrast

On white

1.41
#CCE299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#CCE299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE299
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE299#FFFFFF#000000##000000
##CCE2991.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA94
Deuteranopia (green-blind)
#E8D99C
Tritanopia (blue-blind)
#D2DBCF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce299;
/* rgb */ color: rgb(204, 226, 153);
/* oklch */ color: oklch(87.9% 0.098 122.1);
Tailwind
colors: {
  custom: {
    50: '#dcebb7',
    500: '#cce299',
    950: '#000000',
  },
}
SCSS
$custom: #cce299;
$custom-light: #dcebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cce299",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 153
  },
  "hsl": {
    "h": 78.082,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.87911,
    "c": 0.09797,
    "h": 122.1
  },
  "luminance": 0.6953
}

Semantic roles & 50–950 ramp

primary
#CCE299
secondary
#7E64BB
accent
#22C353
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCE299

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

Preview Lab → · Contrast checker → · Palette generator →

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