#CDD452#CDD452

#CDD452 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.152 H 112.1°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CDD452
RGBrgb(205, 212, 82)
HSLhsl(63, 60%, 58%)
HSVhsv(63, 61%, 83%)
CMYKcmyk(3.3%, 0%, 61.3%, 16.9%)
CIE-LABlab(82.20, -19.01, 61.53)
CIE-LCHlch(82.20, 64.40, 107.17°)
OKLaboklab(84% -0.0571 0.1404)
OKLCHoklch(84% 0.152 112.1)
XYZxyz(50.2447, 60.6764, 17.0459)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD452 #5952D4
analogous
#D49A52 #CDD452 #8CD452
triadic
#CDD452 #52CDD4 #D452CD
tetradic
#CDD452 #52D49A #5952D4 #D4528C
square
#CDD452 #52D49A #5952D4 #D4528C
split-complementary
#CDD452 #528CD4 #9A52D4
monochromatic
#848922 #B3BA2E #CDD452 #DBE083 #E9ECB4

Accessibility & contrast

On white

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

On black

13.14
#CDD452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD452
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD452#FFFFFF#000000##000000
##CDD4521.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#DAC8B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd452;
/* rgb */ color: rgb(205, 212, 82);
/* oklch */ color: oklch(84.0% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#dfe188',
    500: '#cdd452',
    950: '#000000',
  },
}
SCSS
$custom: #cdd452;
$custom-light: #dfe188;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd452",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 63.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84003,
    "c": 0.15157,
    "h": 112.1
  },
  "luminance": 0.60675
}

Semantic roles & 50–950 ramp

primary
#CDD452
secondary
#3F3B90
accent
#44E34D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD452

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

Preview Lab → · Contrast checker → · Palette generator →

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