#CCD79A#CCD79A

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

Color values

HEX#CCD79A
RGBrgb(204, 215, 154)
HSLhsl(71, 43%, 72%)
HSVhsv(71, 28%, 84%)
CMYKcmyk(5.1%, 0%, 28.4%, 15.7%)
CIE-LABlab(83.85, -13.63, 28.94)
CIE-LCHlch(83.85, 31.99, 115.22°)
OKLaboklab(85.59% -0.0361 0.0726)
OKLCHoklch(85.59% 0.081 116.5)
XYZxyz(55.0348, 63.7717, 39.9755)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD79A #A59AD7
analogous
#D7C49A #CCD79A #ADD79A
triadic
#CCD79A #9ACCD7 #D79ACC
tetradic
#CCD79A #9AD7C4 #A59AD7 #D79AAD
square
#CCD79A #9AD7C4 #A59AD7 #D79AAD
split-complementary
#CCD79A #9AADD7 #C49AD7
monochromatic
#9DB146 #B6C66E #CCD79A #E2E8C6 #F4F6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD79A#FFFFFF#000000##000000
##CCD79A1.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)
#DFD196
Deuteranopia (green-blind)
#DED29D
Tritanopia (blue-blind)
#D3D0C7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd79a;
/* rgb */ color: rgb(204, 215, 154);
/* oklch */ color: oklch(85.6% 0.081 116.5);
Tailwind
colors: {
  custom: {
    50: '#dce3b8',
    500: '#ccd79a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd79a;
$custom-light: #dce3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd79a",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 154
  },
  "hsl": {
    "h": 70.82,
    "s": 43.262,
    "l": 72.353
  },
  "oklch": {
    "l": 0.85591,
    "c": 0.08112,
    "h": 116.5
  },
  "luminance": 0.63771
}

Semantic roles & 50–950 ramp

primary
#CCD79A
secondary
#7467AE
accent
#2FB648
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD79A

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

Preview Lab → · Contrast checker → · Palette generator →

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