#CCDC5A#CCDC5A

#CCDC5A is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.7% C 0.154 H 115.6°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#CCDC5A
RGBrgb(204, 220, 90)
HSLhsl(67, 65%, 61%)
HSVhsv(67, 59%, 86%)
CMYKcmyk(7.3%, 0%, 59.1%, 13.7%)
CIE-LABlab(84.36, -22.76, 60.47)
CIE-LCHlch(84.36, 64.61, 110.63°)
OKLaboklab(85.73% -0.0668 0.1392)
OKLCHoklch(85.73% 0.154 115.6)
XYZxyz(52.3416, 64.7627, 19.4140)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDC5A #6A5ADC
analogous
#DCAB5A #CCDC5A #8BDC5A
triadic
#CCDC5A #5ACCDC #DC5ACC
tetradic
#CCDC5A #5ADCAB #6A5ADC #DC5A8B
square
#CCDC5A #5ADCAB #6A5ADC #DC5A8B
split-complementary
#CCDC5A #5A8BDC #AB5ADC
monochromatic
#8C9B21 #B9CD2C #CCDC5A #DCE78C #EBF1BF

Accessibility & contrast

On white

1.51
#CCDC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#CCDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDC5A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDC5A#FFFFFF#000000##000000
##CCDC5A1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24B
Deuteranopia (green-blind)
#E9D462
Tritanopia (blue-blind)
#D8D0C0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccdc5a;
/* rgb */ color: rgb(204, 220, 90);
/* oklch */ color: oklch(85.7% 0.154 115.6);
Tailwind
colors: {
  custom: {
    50: '#dee68e',
    500: '#ccdc5a',
    950: '#000000',
  },
}
SCSS
$custom: #ccdc5a;
$custom-light: #dee68e;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdc5a",
  "rgb": {
    "r": 204,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 67.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85733,
    "c": 0.15441,
    "h": 115.6
  },
  "luminance": 0.64762
}

Semantic roles & 50–950 ramp

primary
#CCDC5A
secondary
#483B9F
accent
#19CD2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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