#CDD072#CDD072

#CDD072 is a very light, moderate yellow. Relative luminance 0.593; OKLCH L 83.5% C 0.118 H 110.3°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#CDD072
RGBrgb(205, 208, 114)
HSLhsl(62, 50%, 63%)
HSVhsv(62, 45%, 82%)
CMYKcmyk(1.4%, 0%, 45.2%, 18.4%)
CIE-LABlab(81.46, -14.39, 46.08)
CIE-LCHlch(81.46, 48.27, 107.35°)
OKLaboklab(83.52% -0.0408 0.1103)
OKLCHoklch(83.52% 0.118 110.3)
XYZxyz(50.7709, 59.3068, 24.6892)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD072 #7572D0
analogous
#D0A472 #CDD072 #9ED072
triadic
#CDD072 #72CDD0 #D072CD
tetradic
#CDD072 #72D0A4 #7572D0 #D0729E
square
#CDD072 #72D0A4 #7572D0 #D0729E
split-complementary
#CDD072 #729ED0 #A472D0
monochromatic
#939632 #BDC144 #CDD072 #DDDFA0 #EEEFCE

Accessibility & contrast

On white

1.63
#CDD072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#CDD072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD072
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD072#FFFFFF#000000##000000
##CDD0721.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#D8C6BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd072;
/* rgb */ color: rgb(205, 208, 114);
/* oklch */ color: oklch(83.5% 0.118 110.3);
Tailwind
colors: {
  custom: {
    50: '#dede9c',
    500: '#cdd072',
    950: '#000000',
  },
}
SCSS
$custom: #cdd072;
$custom-light: #dede9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd072",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 61.915,
    "s": 50,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83515,
    "c": 0.11764,
    "h": 110.3
  },
  "luminance": 0.59306
}

Semantic roles & 50–950 ramp

primary
#CDD072
secondary
#4D4B9B
accent
#28BD2D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD072

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

Preview Lab → · Contrast checker → · Palette generator →

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