#CCDF97#CCDF97

#CCDF97 is a very light, moderate yellow-green. Relative luminance 0.678; OKLCH L 87.2% C 0.096 H 120.4°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#CCDF97
RGBrgb(204, 223, 151)
HSLhsl(76, 53%, 73%)
HSVhsv(76, 32%, 87%)
CMYKcmyk(8.5%, 0%, 32.3%, 12.5%)
CIE-LABlab(85.93, -18.01, 33.26)
CIE-LCHlch(85.93, 37.82, 118.44°)
OKLaboklab(87.23% -0.0486 0.0828)
OKLCHoklch(87.23% 0.096 120.4)
XYZxyz(56.8751, 67.8472, 39.3717)
Luminance0.6785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDF97 #AA97DF
analogous
#DFCE97 #CCDF97 #A8DF97
triadic
#CCDF97 #97CCDF #DF97CC
tetradic
#CCDF97 #97DFCE #AA97DF #DF97A8
square
#CCDF97 #97DFCE #AA97DF #DF97A8
split-complementary
#CCDF97 #97A8DF #CE97DF
monochromatic
#9DC03B #B5D168 #CCDF97 #E3EDC6 #F4F8E8

Accessibility & contrast

On white

1.44
#CCDF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#CCDF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDF97
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDF97#FFFFFF#000000##000000
##CCDF971.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D792
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#D2D8CC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ccdf97;
/* rgb */ color: rgb(204, 223, 151);
/* oklch */ color: oklch(87.2% 0.096 120.4);
Tailwind
colors: {
  custom: {
    50: '#dce9b6',
    500: '#ccdf97',
    950: '#000000',
  },
}
SCSS
$custom: #ccdf97;
$custom-light: #dce9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdf97",
  "rgb": {
    "r": 204,
    "g": 223,
    "b": 151
  },
  "hsl": {
    "h": 75.833,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87234,
    "c": 0.09601,
    "h": 120.4
  },
  "luminance": 0.67847
}

Semantic roles & 50–950 ramp

primary
#CCDF97
secondary
#7963B7
accent
#25C04E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCDF97

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

Preview Lab → · Contrast checker → · Palette generator →

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