#CDD772#CDD772

#CDD772 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.126 H 113.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CDD772
RGBrgb(205, 215, 114)
HSLhsl(66, 56%, 65%)
HSVhsv(66, 47%, 84%)
CMYKcmyk(4.7%, 0%, 47%, 15.7%)
CIE-LABlab(83.33, -17.88, 48.36)
CIE-LCHlch(83.33, 51.56, 110.29°)
OKLaboklab(85.01% -0.0508 0.1154)
OKLCHoklch(85.01% 0.126 113.7)
XYZxyz(52.5153, 62.7957, 25.2706)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD772 #7C72D7
analogous
#D7AF72 #CDD772 #9AD772
triadic
#CDD772 #72CDD7 #D772CD
tetradic
#CDD772 #72D7AF #7C72D7 #D7729A
square
#CDD772 #72D7AF #7C72D7 #D7729A
split-complementary
#CDD772 #729AD7 #AF72D7
monochromatic
#96A12E #BCC942 #CDD772 #DEE5A2 #EFF2D1

Accessibility & contrast

On white

1.55
#CDD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#CDD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD772
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD772#FFFFFF#000000##000000
##CDD7721.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF69
Deuteranopia (green-blind)
#E3D177
Tritanopia (blue-blind)
#D8CDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd772;
/* rgb */ color: rgb(205, 215, 114);
/* oklch */ color: oklch(85.0% 0.126 113.7);
Tailwind
colors: {
  custom: {
    50: '#dee39d',
    500: '#cdd772',
    950: '#000000',
  },
}
SCSS
$custom: #cdd772;
$custom-light: #dee39d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd772",
  "rgb": {
    "r": 205,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 65.941,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8501,
    "c": 0.12605,
    "h": 113.7
  },
  "luminance": 0.62795
}

Semantic roles & 50–950 ramp

primary
#CDD772
secondary
#5148A5
accent
#22C332
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD772

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

Preview Lab → · Contrast checker → · Palette generator →

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