#CCD79D#CCD79D

#CCD79D is a very light, moderate yellow-green. Relative luminance 0.639; OKLCH L 85.7% C 0.077 H 116.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CCD79D
RGBrgb(204, 215, 157)
HSLhsl(71, 42%, 73%)
HSVhsv(71, 27%, 84%)
CMYKcmyk(5.1%, 0%, 27%, 15.7%)
CIE-LABlab(83.90, -13.22, 27.46)
CIE-LCHlch(83.90, 30.47, 115.71°)
OKLaboklab(85.65% -0.0349 0.0691)
OKLCHoklch(85.65% 0.077 116.8)
XYZxyz(55.2878, 63.8729, 41.3078)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD79D #A89DD7
analogous
#D7C59D #CCD79D #AFD79D
triadic
#CCD79D #9DCCD7 #D79DCC
tetradic
#CCD79D #9DD7C5 #A89DD7 #D79DAF
square
#CCD79D #9DD7C5 #A89DD7 #D79DAF
split-complementary
#CCD79D #9DAFD7 #C59DD7
monochromatic
#9DB148 #B5C572 #CCD79D #E3E9C8 #F4F6E9

Accessibility & contrast

On white

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

On black

13.77
#CCD79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD79D
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD79D#FFFFFF#000000##000000
##CCD79D1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD199
Deuteranopia (green-blind)
#DED29F
Tritanopia (blue-blind)
#D2D1C8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd79d;
/* rgb */ color: rgb(204, 215, 157);
/* oklch */ color: oklch(85.7% 0.077 116.8);
Tailwind
colors: {
  custom: {
    50: '#dce3ba',
    500: '#ccd79d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd79d;
$custom-light: #dce3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd79d",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 157
  },
  "hsl": {
    "h": 71.379,
    "s": 42.029,
    "l": 72.941
  },
  "oklch": {
    "l": 0.8565,
    "c": 0.07744,
    "h": 116.8
  },
  "luminance": 0.63873
}

Semantic roles & 50–950 ramp

primary
#CCD79D
secondary
#776AAE
accent
#30B54A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD79D

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

Preview Lab → · Contrast checker → · Palette generator →

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