#CCD896#CCD896

#CCD896 is a very light, moderate yellow-green. Relative luminance 0.642; OKLCH L 85.7% C 0.087 H 116.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CCD896
RGBrgb(204, 216, 150)
HSLhsl(71, 46%, 72%)
HSVhsv(71, 31%, 85%)
CMYKcmyk(5.6%, 0%, 30.6%, 15.3%)
CIE-LABlab(84.04, -14.66, 31.27)
CIE-LCHlch(84.04, 34.53, 115.13°)
OKLaboklab(85.73% -0.0392 0.0781)
OKLCHoklch(85.73% 0.087 116.7)
XYZxyz(54.9626, 64.1515, 38.3352)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD896 #A296D8
analogous
#D8C396 #CCD896 #ABD896
triadic
#CCD896 #96CCD8 #D896CC
tetradic
#CCD896 #96D8C3 #A296D8 #D896AB
square
#CCD896 #96D8C3 #A296D8 #D896AB
split-complementary
#CCD896 #96ABD8 #C396D8
monochromatic
#9DB242 #B6C769 #CCD896 #E2E9C3 #F4F7E9

Accessibility & contrast

On white

1.52
#CCD896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#CCD896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD896
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD896#FFFFFF#000000##000000
##CCD8961.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D192
Deuteranopia (green-blind)
#E0D299
Tritanopia (blue-blind)
#D3D1C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd896;
/* rgb */ color: rgb(204, 216, 150);
/* oklch */ color: oklch(85.7% 0.087 116.7);
Tailwind
colors: {
  custom: {
    50: '#dce4b5',
    500: '#ccd896',
    950: '#000000',
  },
}
SCSS
$custom: #ccd896;
$custom-light: #dce4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd896",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 150
  },
  "hsl": {
    "h": 70.909,
    "s": 45.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.08735,
    "h": 116.7
  },
  "luminance": 0.64151
}

Semantic roles & 50–950 ramp

primary
#CCD896
secondary
#7163AF
accent
#2CB946
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD896

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

Preview Lab → · Contrast checker → · Palette generator →

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