#CCD899#CCD899

#CCD899 is a very light, moderate yellow-green. Relative luminance 0.642; OKLCH L 85.8% C 0.084 H 117.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#CCD899
RGBrgb(204, 216, 153)
HSLhsl(71, 45%, 72%)
HSVhsv(71, 29%, 85%)
CMYKcmyk(5.6%, 0%, 29.2%, 15.3%)
CIE-LABlab(84.10, -14.27, 29.79)
CIE-LCHlch(84.10, 33.03, 115.59°)
OKLaboklab(85.78% -0.038 0.0746)
OKLCHoklch(85.78% 0.084 117)
XYZxyz(55.2072, 64.2493, 39.6238)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD899 #A599D8
analogous
#D8C599 #CCD899 #ACD899
triadic
#CCD899 #99CCD8 #D899CC
tetradic
#CCD899 #99D8C5 #A599D8 #D899AC
square
#CCD899 #99D8C5 #A599D8 #D899AC
split-complementary
#CCD899 #99ACD8 #C599D8
monochromatic
#9DB244 #B6C76D #CCD899 #E2E9C5 #F4F7E9

Accessibility & contrast

On white

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

On black

13.85
#CCD899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD899
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD899#FFFFFF#000000##000000
##CCD8991.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D195
Deuteranopia (green-blind)
#DFD29C
Tritanopia (blue-blind)
#D3D1C8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd899;
/* rgb */ color: rgb(204, 216, 153);
/* oklch */ color: oklch(85.8% 0.084 117.0);
Tailwind
colors: {
  custom: {
    50: '#dce4b7',
    500: '#ccd899',
    950: '#000000',
  },
}
SCSS
$custom: #ccd899;
$custom-light: #dce4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd899",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 153
  },
  "hsl": {
    "h": 71.429,
    "s": 44.681,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85783,
    "c": 0.08372,
    "h": 117
  },
  "luminance": 0.64249
}

Semantic roles & 50–950 ramp

primary
#CCD899
secondary
#7466AF
accent
#2EB848
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD899

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

Preview Lab → · Contrast checker → · Palette generator →

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