#CDD478#CDD478

#CDD478 is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.116 H 112.4°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#CDD478
RGBrgb(205, 212, 120)
HSLhsl(65, 52%, 65%)
HSVhsv(65, 43%, 83%)
CMYKcmyk(3.3%, 0%, 43.4%, 16.9%)
CIE-LABlab(82.61, -15.79, 44.55)
CIE-LCHlch(82.61, 47.27, 109.52°)
OKLaboklab(84.45% -0.0443 0.1073)
OKLCHoklch(84.45% 0.116 112.4)
XYZxyz(52.1112, 61.4230, 26.8763)
Luminance0.6142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD478 #7F78D4
analogous
#D4AD78 #CDD478 #9FD478
triadic
#CDD478 #78CDD4 #D478CD
tetradic
#CDD478 #78D4AD #7F78D4 #D4789F
square
#CDD478 #78D4AD #7F78D4 #D4789F
split-complementary
#CDD478 #789FD4 #AD78D4
monochromatic
#979F33 #BCC54A #CDD478 #DEE3A6 #EFF2D5

Accessibility & contrast

On white

1.58
#CDD478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#CDD478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD478
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD478#FFFFFF#000000##000000
##CDD4781.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC70
Deuteranopia (green-blind)
#E0CF7C
Tritanopia (blue-blind)
#D7CABE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd478;
/* rgb */ color: rgb(205, 212, 120);
/* oklch */ color: oklch(84.5% 0.116 112.4);
Tailwind
colors: {
  custom: {
    50: '#dee1a0',
    500: '#cdd478',
    950: '#000000',
  },
}
SCSS
$custom: #cdd478;
$custom-light: #dee1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd478",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 64.565,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84453,
    "c": 0.11612,
    "h": 112.4
  },
  "luminance": 0.61422
}

Semantic roles & 50–950 ramp

primary
#CDD478
secondary
#534DA4
accent
#26BF32
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD478

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

Preview Lab → · Contrast checker → · Palette generator →

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