#CDD778#CDD778

#CDD778 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.120 H 113.9°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CDD778
RGBrgb(205, 215, 120)
HSLhsl(66, 54%, 66%)
HSVhsv(66, 44%, 84%)
CMYKcmyk(4.7%, 0%, 44.2%, 15.7%)
CIE-LABlab(83.41, -17.29, 45.55)
CIE-LCHlch(83.41, 48.72, 110.78°)
OKLaboklab(85.09% -0.0485 0.1096)
OKLCHoklch(85.09% 0.12 113.9)
XYZxyz(52.8681, 62.9368, 27.1286)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD778 #8278D7
analogous
#D7B178 #CDD778 #9DD778
triadic
#CDD778 #78CDD7 #D778CD
tetradic
#CDD778 #78D7B1 #8278D7 #D7789D
square
#CDD778 #78D7B1 #8278D7 #D7789D
split-complementary
#CDD778 #789DD7 #B178D7
monochromatic
#98A431 #BCC949 #CDD778 #DEE5A7 #F0F3D6

Accessibility & contrast

On white

1.55
#CDD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CDD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD778
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD778#FFFFFF#000000##000000
##CDD7781.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#D7CDC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd778;
/* rgb */ color: rgb(205, 215, 120);
/* oklch */ color: oklch(85.1% 0.120 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee3a1',
    500: '#cdd778',
    950: '#000000',
  },
}
SCSS
$custom: #cdd778;
$custom-light: #dee3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd778",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 66.316,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85094,
    "c": 0.11983,
    "h": 113.9
  },
  "luminance": 0.62936
}

Semantic roles & 50–950 ramp

primary
#CDD778
secondary
#554BA8
accent
#24C234
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD778

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

Preview Lab → · Contrast checker → · Palette generator →

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