#CDD374#CDD374

#CDD374 is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.119 H 111.9°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CDD374
RGBrgb(205, 211, 116)
HSLhsl(64, 52%, 64%)
HSVhsv(64, 45%, 83%)
CMYKcmyk(2.8%, 0%, 45%, 17.3%)
CIE-LABlab(82.29, -15.70, 46.11)
CIE-LCHlch(82.29, 48.71, 108.80°)
OKLaboklab(84.18% -0.0444 0.1106)
OKLCHoklch(84.18% 0.119 111.9)
XYZxyz(51.6243, 60.8295, 25.5414)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD374 #7A74D3
analogous
#D3AA74 #CDD374 #9ED374
triadic
#CDD374 #74CDD3 #D374CD
tetradic
#CDD374 #74D3AA #7A74D3 #D3749E
square
#CDD374 #74D3AA #7A74D3 #D3749E
split-complementary
#CDD374 #749ED3 #AA74D3
monochromatic
#959B31 #BCC446 #CDD374 #DEE2A2 #EEF0D1

Accessibility & contrast

On white

1.60
#CDD374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CDD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD374
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD374#FFFFFF#000000##000000
##CDD3741.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6C
Deuteranopia (green-blind)
#E0CE79
Tritanopia (blue-blind)
#D8C9BD
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd374;
/* rgb */ color: rgb(205, 211, 116);
/* oklch */ color: oklch(84.2% 0.119 111.9);
Tailwind
colors: {
  custom: {
    50: '#dee09e',
    500: '#cdd374',
    950: '#000000',
  },
}
SCSS
$custom: #cdd374;
$custom-light: #dee09e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd374",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 63.789,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84182,
    "c": 0.11913,
    "h": 111.9
  },
  "luminance": 0.60829
}

Semantic roles & 50–950 ramp

primary
#CDD374
secondary
#504BA0
accent
#26BF30
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD374

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

Preview Lab → · Contrast checker → · Palette generator →

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