#CCD799#CCD799

#CCD799 is a very light, moderate yellow-green. Relative luminance 0.637; OKLCH L 85.6% C 0.082 H 116.4°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CCD799
RGBrgb(204, 215, 153)
HSLhsl(71, 44%, 72%)
HSVhsv(71, 29%, 84%)
CMYKcmyk(5.1%, 0%, 28.8%, 15.7%)
CIE-LABlab(83.83, -13.76, 29.43)
CIE-LCHlch(83.83, 32.49, 115.06°)
OKLaboklab(85.57% -0.0365 0.0738)
OKLCHoklch(85.57% 0.082 116.4)
XYZxyz(54.9518, 63.7385, 39.5387)
Luminance0.6374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD799 #A499D7
analogous
#D7C399 #CCD799 #ADD799
triadic
#CCD799 #99CCD7 #D799CC
tetradic
#CCD799 #99D7C3 #A499D7 #D799AD
square
#CCD799 #99D7C3 #A499D7 #D799AD
split-complementary
#CCD799 #99ADD7 #C399D7
monochromatic
#9DB045 #B6C66D #CCD799 #E2E8C5 #F4F6E9

Accessibility & contrast

On white

1.53
#CCD799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CCD799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD799
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD799#FFFFFF#000000##000000
##CCD7991.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D195
Deuteranopia (green-blind)
#DED29C
Tritanopia (blue-blind)
#D3D0C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd799;
/* rgb */ color: rgb(204, 215, 153);
/* oklch */ color: oklch(85.6% 0.082 116.4);
Tailwind
colors: {
  custom: {
    50: '#dce3b7',
    500: '#ccd799',
    950: '#000000',
  },
}
SCSS
$custom: #ccd799;
$custom-light: #dce3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd799",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 153
  },
  "hsl": {
    "h": 70.645,
    "s": 43.662,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85572,
    "c": 0.08233,
    "h": 116.4
  },
  "luminance": 0.63738
}

Semantic roles & 50–950 ramp

primary
#CCD799
secondary
#7366AE
accent
#2FB747
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD799

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

Preview Lab → · Contrast checker → · Palette generator →

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