#CCD299#CCD299

#CCD299 is a very light, moderate yellow. Relative luminance 0.612; OKLCH L 84.5% C 0.075 H 112.9°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#CCD299
RGBrgb(204, 210, 153)
HSLhsl(66, 39%, 71%)
HSVhsv(66, 27%, 82%)
CMYKcmyk(2.9%, 0%, 27.1%, 17.6%)
CIE-LABlab(82.50, -11.24, 27.65)
CIE-LCHlch(82.50, 29.85, 112.12°)
OKLaboklab(84.52% -0.0294 0.0695)
OKLCHoklch(84.52% 0.075 112.9)
XYZxyz(53.6981, 61.2310, 39.1207)
Luminance0.6123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD299 #9F99D2
analogous
#D2BB99 #CCD299 #AFD299
triadic
#CCD299 #99CCD2 #D299CC
tetradic
#CCD299 #99D2BB #9F99D2 #D299AF
square
#CCD299 #99D2BB #9F99D2 #D299AF
split-complementary
#CCD299 #99AFD2 #BB99D2
monochromatic
#9DA74A #B7BF6F #CCD299 #E1E5C3 #F4F6EA

Accessibility & contrast

On white

1.59
#CCD299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#CCD299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD299
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD299#FFFFFF#000000##000000
##CCD2991.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCD95
Deuteranopia (green-blind)
#DACE9B
Tritanopia (blue-blind)
#D3CBC3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd299;
/* rgb */ color: rgb(204, 210, 153);
/* oklch */ color: oklch(84.5% 0.075 112.9);
Tailwind
colors: {
  custom: {
    50: '#dcdfb7',
    500: '#ccd299',
    950: '#000000',
  },
}
SCSS
$custom: #ccd299;
$custom-light: #dcdfb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd299",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 153
  },
  "hsl": {
    "h": 66.316,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.84517,
    "c": 0.07547,
    "h": 112.9
  },
  "luminance": 0.6123
}

Semantic roles & 50–950 ramp

primary
#CCD299
secondary
#6E67A8
accent
#34B241
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD299

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

Preview Lab → · Contrast checker → · Palette generator →

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