#CCD78D#CCD78D

#CCD78D is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.4% C 0.097 H 115.4°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CCD78D
RGBrgb(204, 215, 141)
HSLhsl(69, 48%, 70%)
HSVhsv(69, 34%, 84%)
CMYKcmyk(5.1%, 0%, 34.4%, 15.7%)
CIE-LABlab(83.63, -15.31, 35.33)
CIE-LCHlch(83.63, 38.50, 113.43°)
OKLaboklab(85.35% -0.0414 0.0873)
OKLCHoklch(85.35% 0.097 115.4)
XYZxyz(54.0101, 63.3618, 34.5789)
Luminance0.6336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD78D #988DD7
analogous
#D7BD8D #CCD78D #A7D78D
triadic
#CCD78D #8DCCD7 #D78DCC
tetradic
#CCD78D #8DD7BD #988DD7 #D78DA7
square
#CCD78D #8DD7BD #988DD7 #D78DA7
split-complementary
#CCD78D #8DA7D7 #BD8DD7
monochromatic
#9CAD3D #B8C760 #CCD78D #E0E7BA #F5F7E8

Accessibility & contrast

On white

1.54
#CCD78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CCD78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD78D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD78D#FFFFFF#000000##000000
##CCD78D1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D088
Deuteranopia (green-blind)
#E0D190
Tritanopia (blue-blind)
#D4CFC4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd78d;
/* rgb */ color: rgb(204, 215, 141);
/* oklch */ color: oklch(85.4% 0.097 115.4);
Tailwind
colors: {
  custom: {
    50: '#dce3af',
    500: '#ccd78d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd78d;
$custom-light: #dce3af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd78d",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 141
  },
  "hsl": {
    "h": 68.919,
    "s": 48.052,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8535,
    "c": 0.09665,
    "h": 115.4
  },
  "luminance": 0.63361
}

Semantic roles & 50–950 ramp

primary
#CCD78D
secondary
#675BAD
accent
#2ABB40
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD78D

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

Preview Lab → · Contrast checker → · Palette generator →

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