#CCDE97#CCDE97

#CCDE97 is a very light, moderate yellow-green. Relative luminance 0.673; OKLCH L 87.0% C 0.095 H 120.0°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#CCDE97
RGBrgb(204, 222, 151)
HSLhsl(75, 52%, 73%)
HSVhsv(75, 32%, 87%)
CMYKcmyk(8.1%, 0%, 32%, 12.9%)
CIE-LABlab(85.66, -17.52, 32.90)
CIE-LCHlch(85.66, 37.28, 118.04°)
OKLaboklab(87.02% -0.0472 0.0819)
OKLCHoklch(87.02% 0.095 120)
XYZxyz(56.6088, 67.3144, 39.2829)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDE97 #A997DE
analogous
#DECC97 #CCDE97 #A8DE97
triadic
#CCDE97 #97CCDE #DE97CC
tetradic
#CCDE97 #97DECC #A997DE #DE97A8
square
#CCDE97 #97DECC #A997DE #DE97A8
split-complementary
#CCDE97 #97A8DE #CC97DE
monochromatic
#9DBE3C #B5CF69 #CCDE97 #E3EDC5 #F4F8E8

Accessibility & contrast

On white

1.45
#CCDE97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#CCDE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDE97
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDE97#FFFFFF#000000##000000
##CCDE971.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D692
Deuteranopia (green-blind)
#E5D69A
Tritanopia (blue-blind)
#D2D7CC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ccde97;
/* rgb */ color: rgb(204, 222, 151);
/* oklch */ color: oklch(87.0% 0.095 120.0);
Tailwind
colors: {
  custom: {
    50: '#dce8b6',
    500: '#ccde97',
    950: '#000000',
  },
}
SCSS
$custom: #ccde97;
$custom-light: #dce8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccde97",
  "rgb": {
    "r": 204,
    "g": 222,
    "b": 151
  },
  "hsl": {
    "h": 75.211,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87021,
    "c": 0.09459,
    "h": 120
  },
  "luminance": 0.67314
}

Semantic roles & 50–950 ramp

primary
#CCDE97
secondary
#7863B6
accent
#26BF4D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCDE97

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

Preview Lab → · Contrast checker → · Palette generator →

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