#CCE799#CCE799

#CCE799 is a very light, moderate yellow-green. Relative luminance 0.723; OKLCH L 89.0% C 0.105 H 124.0°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#CCE799
RGBrgb(204, 231, 153)
HSLhsl(81, 62%, 75%)
HSVhsv(81, 34%, 91%)
CMYKcmyk(11.7%, 0%, 33.8%, 9.4%)
CIE-LABlab(88.11, -21.67, 35.11)
CIE-LCHlch(88.11, 41.26, 121.68°)
OKLaboklab(88.98% -0.0589 0.0872)
OKLCHoklch(88.98% 0.105 124)
XYZxyz(59.2270, 72.2889, 40.9637)
Luminance0.7229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE799 #B499E7
analogous
#E7DB99 #CCE799 #A5E799
triadic
#CCE799 #99CCE7 #E799CC
tetradic
#CCE799 #99E7DB #B499E7 #E799A5
square
#CCE799 #99E7DB #B499E7 #E799A5
split-complementary
#CCE799 #99A5E7 #DB99E7
monochromatic
#9AD036 #B3DB67 #CCE799 #E5F3CB #F3F9E6

Accessibility & contrast

On white

1.36
#CCE799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#CCE799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE799
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE799#FFFFFF#000000##000000
##CCE7991.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE94
Deuteranopia (green-blind)
#ECDD9D
Tritanopia (blue-blind)
#D1E0D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce799;
/* rgb */ color: rgb(204, 231, 153);
/* oklch */ color: oklch(89.0% 0.105 124.0);
Tailwind
colors: {
  custom: {
    50: '#dceeb7',
    500: '#cce799',
    950: '#000000',
  },
}
SCSS
$custom: #cce799;
$custom-light: #dceeb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cce799",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 153
  },
  "hsl": {
    "h": 80.769,
    "s": 61.905,
    "l": 75.294
  },
  "oklch": {
    "l": 0.88983,
    "c": 0.10521,
    "h": 124
  },
  "luminance": 0.72289
}

Semantic roles & 50–950 ramp

primary
#CCE799
secondary
#8463C1
accent
#1CCA58
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE799

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

Preview Lab → · Contrast checker → · Palette generator →

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