#CCDD97#CCDD97

#CCDD97 is a very light, moderate yellow-green. Relative luminance 0.668; OKLCH L 86.8% C 0.093 H 119.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#CCDD97
RGBrgb(204, 221, 151)
HSLhsl(75, 51%, 73%)
HSVhsv(75, 32%, 87%)
CMYKcmyk(7.7%, 0%, 31.7%, 13.3%)
CIE-LABlab(85.40, -17.03, 32.55)
CIE-LCHlch(85.40, 36.73, 117.61°)
OKLaboklab(86.81% -0.0458 0.0811)
OKLCHoklch(86.81% 0.093 119.5)
XYZxyz(56.3439, 66.7848, 39.1946)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDD97 #A897DD
analogous
#DDCB97 #CCDD97 #A9DD97
triadic
#CCDD97 #97CCDD #DD97CC
tetradic
#CCDD97 #97DDCB #A897DD #DD97A9
square
#CCDD97 #97DDCB #A897DD #DD97A9
split-complementary
#CCDD97 #97A9DD #CB97DD
monochromatic
#9DBC3D #B5CE69 #CCDD97 #E3ECC5 #F4F7E8

Accessibility & contrast

On white

1.46
#CCDD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#CCDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDD97
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDD97#FFFFFF#000000##000000
##CCDD971.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D592
Deuteranopia (green-blind)
#E4D69A
Tritanopia (blue-blind)
#D2D6CB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ccdd97;
/* rgb */ color: rgb(204, 221, 151);
/* oklch */ color: oklch(86.8% 0.093 119.5);
Tailwind
colors: {
  custom: {
    50: '#dce7b6',
    500: '#ccdd97',
    950: '#000000',
  },
}
SCSS
$custom: #ccdd97;
$custom-light: #dce7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdd97",
  "rgb": {
    "r": 204,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 74.571,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86807,
    "c": 0.09317,
    "h": 119.5
  },
  "luminance": 0.66785
}

Semantic roles & 50–950 ramp

primary
#CCDD97
secondary
#7763B5
accent
#27BE4C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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