#CDD474#CDD474

#CDD474 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.120 H 112.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#CDD474
RGBrgb(205, 212, 116)
HSLhsl(64, 53%, 64%)
HSVhsv(64, 45%, 83%)
CMYKcmyk(3.3%, 0%, 45.3%, 16.9%)
CIE-LABlab(82.55, -16.20, 46.44)
CIE-LCHlch(82.55, 49.19, 109.23°)
OKLaboklab(84.4% -0.0458 0.1113)
OKLCHoklch(84.4% 0.12 112.4)
XYZxyz(51.8735, 61.3279, 25.6244)
Luminance0.6133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD474 #7B74D4
analogous
#D4AB74 #CDD474 #9DD474
triadic
#CDD474 #74CDD4 #D474CD
tetradic
#CDD474 #74D4AB #7B74D4 #D4749D
square
#CDD474 #74D4AB #7B74D4 #D4749D
split-complementary
#CDD474 #749DD4 #AB74D4
monochromatic
#959D31 #BCC645 #CDD474 #DEE2A3 #EFF1D1

Accessibility & contrast

On white

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

On black

13.27
#CDD474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD474
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD474#FFFFFF#000000##000000
##CDD4741.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#E1CF79
Tritanopia (blue-blind)
#D8CABD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd474;
/* rgb */ color: rgb(205, 212, 116);
/* oklch */ color: oklch(84.4% 0.120 112.4);
Tailwind
colors: {
  custom: {
    50: '#dee19e',
    500: '#cdd474',
    950: '#000000',
  },
}
SCSS
$custom: #cdd474;
$custom-light: #dee19e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd474",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 64.375,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84396,
    "c": 0.12033,
    "h": 112.4
  },
  "luminance": 0.61327
}

Semantic roles & 50–950 ramp

primary
#CDD474
secondary
#514AA2
accent
#25C031
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD474

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

Preview Lab → · Contrast checker → · Palette generator →

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