#CDD978#CDD978

#CDD978 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.122 H 114.8°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#CDD978
RGBrgb(205, 217, 120)
HSLhsl(67, 56%, 66%)
HSVhsv(67, 45%, 85%)
CMYKcmyk(5.5%, 0%, 44.7%, 14.9%)
CIE-LABlab(83.95, -18.27, 46.21)
CIE-LCHlch(83.95, 49.69, 111.58°)
OKLaboklab(85.52% -0.0513 0.111)
OKLCHoklch(85.52% 0.122 114.8)
XYZxyz(53.3805, 63.9616, 27.2994)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD978 #8478D9
analogous
#D9B478 #CDD978 #9CD978
triadic
#CDD978 #78CDD9 #D978CD
tetradic
#CDD978 #78D9B4 #8478D9 #D9789C
square
#CDD978 #78D9B4 #8478D9 #D9789C
split-complementary
#CDD978 #789CD9 #B478D9
monochromatic
#99A72F #BBCC48 #CDD978 #DFE6A8 #F0F4D8

Accessibility & contrast

On white

1.52
#CDD978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#CDD978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD978
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD978#FFFFFF#000000##000000
##CDD9781.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D070
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#D7CFC2
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd978;
/* rgb */ color: rgb(205, 217, 120);
/* oklch */ color: oklch(85.5% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#dee4a1',
    500: '#cdd978',
    950: '#000000',
  },
}
SCSS
$custom: #cdd978;
$custom-light: #dee4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd978",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 67.423,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85522,
    "c": 0.12233,
    "h": 114.8
  },
  "luminance": 0.63961
}

Semantic roles & 50–950 ramp

primary
#CDD978
secondary
#564AAB
accent
#22C436
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD978

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

Preview Lab → · Contrast checker → · Palette generator →

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