#CDD052#CDD052

#CDD052 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.1% C 0.147 H 110.5°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#CDD052
RGBrgb(205, 208, 82)
HSLhsl(61, 57%, 57%)
HSVhsv(61, 61%, 82%)
CMYKcmyk(1.4%, 0%, 60.6%, 18.4%)
CIE-LABlab(81.13, -17.03, 60.37)
CIE-LCHlch(81.13, 62.72, 105.76°)
OKLaboklab(83.14% -0.0516 0.1379)
OKLCHoklch(83.14% 0.147 110.5)
XYZxyz(49.2571, 58.7013, 16.7168)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD052 #5552D0
analogous
#D09452 #CDD052 #8ED052
triadic
#CDD052 #52CDD0 #D052CD
tetradic
#CDD052 #52D094 #5552D0 #D0528E
square
#CDD052 #52D094 #5552D0 #D0528E
split-complementary
#CDD052 #528ED0 #9452D0
monochromatic
#828424 #B1B431 #CDD052 #DBDD82 #E9EAB2

Accessibility & contrast

On white

1.65
#CDD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#CDD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD052
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD052#FFFFFF#000000##000000
##CDD0521.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#DAC4B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdd052;
/* rgb */ color: rgb(205, 208, 82);
/* oklch */ color: oklch(83.1% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#dfde88',
    500: '#cdd052',
    950: '#000000',
  },
}
SCSS
$custom: #cdd052;
$custom-light: #dfde88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd052",
  "rgb": {
    "r": 205,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 61.429,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83142,
    "c": 0.14726,
    "h": 110.5
  },
  "luminance": 0.587
}

Semantic roles & 50–950 ramp

primary
#CDD052
secondary
#3D3B8B
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD052

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

Preview Lab → · Contrast checker → · Palette generator →

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