#CDDD96#CDDD96

#CDDD96 is a very light, moderate yellow-green. Relative luminance 0.669; OKLCH L 86.9% C 0.094 H 118.7°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#CDDD96
RGBrgb(205, 221, 150)
HSLhsl(74, 51%, 73%)
HSVhsv(74, 32%, 87%)
CMYKcmyk(7.2%, 0%, 32.1%, 13.3%)
CIE-LABlab(85.45, -16.78, 33.14)
CIE-LCHlch(85.45, 37.15, 116.85°)
OKLaboklab(86.86% -0.0452 0.0825)
OKLCHoklch(86.86% 0.094 118.7)
XYZxyz(56.5381, 66.8943, 38.7816)
Luminance0.6689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDD96 #A696DD
analogous
#DDC996 #CDDD96 #A9DD96
triadic
#CDDD96 #96CDDD #DD96CD
tetradic
#CDDD96 #96DDC9 #A696DD #DD96A9
square
#CDDD96 #96DDC9 #A696DD #DD96A9
split-complementary
#CDDD96 #96A9DD #C996DD
monochromatic
#9FBC3D #B7CE68 #CDDD96 #E3ECC4 #F4F8E8

Accessibility & contrast

On white

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

On black

14.38
#CDDD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDD96
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDD96#FFFFFF#000000##000000
##CDDD961.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D591
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#D4D6CB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cddd96;
/* rgb */ color: rgb(205, 221, 150);
/* oklch */ color: oklch(86.9% 0.094 118.7);
Tailwind
colors: {
  custom: {
    50: '#dde7b5',
    500: '#cddd96',
    950: '#000000',
  },
}
SCSS
$custom: #cddd96;
$custom-light: #dde7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cddd96",
  "rgb": {
    "r": 205,
    "g": 221,
    "b": 150
  },
  "hsl": {
    "h": 73.521,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86864,
    "c": 0.09406,
    "h": 118.7
  },
  "luminance": 0.66894
}

Semantic roles & 50–950 ramp

primary
#CDDD96
secondary
#7562B5
accent
#27BE49
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CDDD96

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

Preview Lab → · Contrast checker → · Palette generator →

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