#CDD477#CDD477

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

Color values

HEX#CDD477
RGBrgb(205, 212, 119)
HSLhsl(65, 52%, 65%)
HSVhsv(65, 44%, 83%)
CMYKcmyk(3.3%, 0%, 43.9%, 16.9%)
CIE-LABlab(82.59, -15.90, 45.03)
CIE-LCHlch(82.59, 47.75, 109.45°)
OKLaboklab(84.44% -0.0447 0.1083)
OKLCHoklch(84.44% 0.117 112.4)
XYZxyz(52.0508, 61.3989, 26.5584)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD477 #7E77D4
analogous
#D4AC77 #CDD477 #9FD477
triadic
#CDD477 #77CDD4 #D477CD
tetradic
#CDD477 #77D4AC #7E77D4 #D4779F
square
#CDD477 #77D4AC #7E77D4 #D4779F
split-complementary
#CDD477 #779FD4 #AC77D4
monochromatic
#969E32 #BCC549 #CDD477 #DEE3A5 #EFF1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD477#FFFFFF#000000##000000
##CDD4771.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)
#E0CC6F
Deuteranopia (green-blind)
#E0CF7B
Tritanopia (blue-blind)
#D7CABE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd477;
/* rgb */ color: rgb(205, 212, 119);
/* oklch */ color: oklch(84.4% 0.117 112.4);
Tailwind
colors: {
  custom: {
    50: '#dee1a0',
    500: '#cdd477',
    950: '#000000',
  },
}
SCSS
$custom: #cdd477;
$custom-light: #dee1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd477",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 64.516,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84438,
    "c": 0.11717,
    "h": 112.4
  },
  "luminance": 0.61398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDD477

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

Preview Lab → · Contrast checker → · Palette generator →

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