#CCD79F#CCD79F

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

Color values

HEX#CCD79F
RGBrgb(204, 215, 159)
HSLhsl(72, 41%, 73%)
HSVhsv(72, 26%, 84%)
CMYKcmyk(5.1%, 0%, 26%, 15.7%)
CIE-LABlab(83.94, -12.94, 26.47)
CIE-LCHlch(83.94, 29.46, 116.06°)
OKLaboklab(85.69% -0.0341 0.0668)
OKLCHoklch(85.69% 0.075 117)
XYZxyz(55.4599, 63.9417, 42.2145)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD79F #AA9FD7
analogous
#D7C69F #CCD79F #B0D79F
triadic
#CCD79F #9FCCD7 #D79FCC
tetradic
#CCD79F #9FD7C6 #AA9FD7 #D79FB0
square
#CCD79F #9FD7C6 #AA9FD7 #D79FB0
split-complementary
#CCD79F #9FB0D7 #C69FD7
monochromatic
#9DB24A #B5C574 #CCD79F #E3E9CA #F4F6E9

Accessibility & contrast

On white

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

On black

13.79
#CCD79F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD79F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD79F#FFFFFF#000000##000000
##CCD79F1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd79f;
/* rgb */ color: rgb(204, 215, 159);
/* oklch */ color: oklch(85.7% 0.075 117.0);
Tailwind
colors: {
  custom: {
    50: '#dce3bb',
    500: '#ccd79f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd79f;
$custom-light: #dce3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd79f",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 159
  },
  "hsl": {
    "h": 71.786,
    "s": 41.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.85691,
    "c": 0.07497,
    "h": 117
  },
  "luminance": 0.63941
}

Semantic roles & 50–950 ramp

primary
#CCD79F
secondary
#796CAE
accent
#31B44B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CCD79F

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

Preview Lab → · Contrast checker → · Palette generator →

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