#CCD79E#CCD79E

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

Color values

HEX#CCD79E
RGBrgb(204, 215, 158)
HSLhsl(72, 42%, 73%)
HSVhsv(72, 27%, 84%)
CMYKcmyk(5.1%, 0%, 26.5%, 15.7%)
CIE-LABlab(83.92, -13.08, 26.96)
CIE-LCHlch(83.92, 29.97, 115.88°)
OKLaboklab(85.67% -0.0345 0.068)
OKLCHoklch(85.67% 0.076 116.9)
XYZxyz(55.3735, 63.9072, 41.7593)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD79E #A99ED7
analogous
#D7C59E #CCD79E #AFD79E
triadic
#CCD79E #9ECCD7 #D79ECC
tetradic
#CCD79E #9ED7C5 #A99ED7 #D79EAF
square
#CCD79E #9ED7C5 #A99ED7 #D79EAF
split-complementary
#CCD79E #9EAFD7 #C59ED7
monochromatic
#9DB149 #B5C573 #CCD79E #E3E9C9 #F4F6E9

Accessibility & contrast

On white

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

On black

13.78
#CCD79E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD79E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD79E#FFFFFF#000000##000000
##CCD79E1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd79e;
/* rgb */ color: rgb(204, 215, 158);
/* oklch */ color: oklch(85.7% 0.076 116.9);
Tailwind
colors: {
  custom: {
    50: '#dce3bb',
    500: '#ccd79e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd79e;
$custom-light: #dce3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd79e",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 158
  },
  "hsl": {
    "h": 71.579,
    "s": 41.606,
    "l": 73.137
  },
  "oklch": {
    "l": 0.8567,
    "c": 0.0762,
    "h": 116.9
  },
  "luminance": 0.63907
}

Semantic roles & 50–950 ramp

primary
#CCD79E
secondary
#786BAE
accent
#31B54A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD79E

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

Preview Lab → · Contrast checker → · Palette generator →

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