#CDD372#CDD372

#CDD372 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.121 H 111.8°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#CDD372
RGBrgb(205, 211, 114)
HSLhsl(64, 52%, 64%)
HSVhsv(64, 46%, 83%)
CMYKcmyk(2.8%, 0%, 46%, 17.3%)
CIE-LABlab(82.26, -15.90, 47.06)
CIE-LCHlch(82.26, 49.67, 108.67°)
OKLaboklab(84.16% -0.0451 0.1125)
OKLCHoklch(84.16% 0.121 111.8)
XYZxyz(51.5092, 60.7835, 24.9353)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD372 #7872D3
analogous
#D3A872 #CDD372 #9CD372
triadic
#CDD372 #72CDD3 #D372CD
tetradic
#CDD372 #72D3A8 #7872D3 #D3729C
square
#CDD372 #72D3A8 #7872D3 #D3729C
split-complementary
#CDD372 #729CD3 #A872D3
monochromatic
#949A30 #BCC443 #CDD372 #DEE2A1 #EEF0CF

Accessibility & contrast

On white

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

On black

13.16
#CDD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD372
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD372#FFFFFF#000000##000000
##CDD3721.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#E0CE77
Tritanopia (blue-blind)
#D8C9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd372;
/* rgb */ color: rgb(205, 211, 114);
/* oklch */ color: oklch(84.2% 0.121 111.8);
Tailwind
colors: {
  custom: {
    50: '#dee09c',
    500: '#cdd372',
    950: '#000000',
  },
}
SCSS
$custom: #cdd372;
$custom-light: #dee09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd372",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 63.711,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84155,
    "c": 0.1212,
    "h": 111.8
  },
  "luminance": 0.60783
}

Semantic roles & 50–950 ramp

primary
#CDD372
secondary
#4F4A9F
accent
#26C02F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD372

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

Preview Lab → · Contrast checker → · Palette generator →

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