#CCDC8A#CCDC8A

#CCDC8A is a very light, moderate yellow-green. Relative luminance 0.659; OKLCH L 86.4% C 0.107 H 117.7°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#CCDC8A
RGBrgb(204, 220, 138)
HSLhsl(72, 54%, 70%)
HSVhsv(72, 37%, 86%)
CMYKcmyk(7.3%, 0%, 37.3%, 13.7%)
CIE-LABlab(84.92, -18.15, 38.52)
CIE-LCHlch(84.92, 42.58, 115.23°)
OKLaboklab(86.37% -0.0497 0.0946)
OKLCHoklch(86.37% 0.107 117.7)
XYZxyz(55.0826, 65.8591, 33.8501)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC8A #9A8ADC
analogous
#DCC38A #CCDC8A #A3DC8A
triadic
#CCDC8A #8ACCDC #DC8ACC
tetradic
#CCDC8A #8ADCC3 #9A8ADC #DC8AA3
square
#CCDC8A #8ADCC3 #9A8ADC #DC8AA3
split-complementary
#CCDC8A #8AA3DC #C38ADC
monochromatic
#9DB536 #B7CE5B #CCDC8A #E1EAB9 #F5F8E7

Accessibility & contrast

On white

1.48
#CCDC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#CCDC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC8A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC8A#FFFFFF#000000##000000
##CCDC8A1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D484
Deuteranopia (green-blind)
#E5D58E
Tritanopia (blue-blind)
#D4D4C8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ccdc8a;
/* rgb */ color: rgb(204, 220, 138);
/* oklch */ color: oklch(86.4% 0.107 117.7);
Tailwind
colors: {
  custom: {
    50: '#dce6ad',
    500: '#ccdc8a',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc8a;
$custom-light: #dce6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc8a",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 71.707,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86366,
    "c": 0.10684,
    "h": 117.7
  },
  "luminance": 0.65859
}

Semantic roles & 50–950 ramp

primary
#CCDC8A
secondary
#6957B3
accent
#24C143
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #CCDC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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