#CDD534#CDD534

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

Color values

HEX#CDD534
RGBrgb(205, 213, 52)
HSLhsl(63, 66%, 52%)
HSVhsv(63, 76%, 84%)
CMYKcmyk(3.8%, 0%, 75.6%, 16.5%)
CIE-LABlab(82.28, -21.09, 72.57)
CIE-LCHlch(82.28, 75.58, 106.21°)
OKLaboklab(84% -0.0658 0.1589)
OKLCHoklch(84% 0.172 112.5)
XYZxyz(49.5926, 60.8168, 12.3745)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD534 #3C34D5
analogous
#D58C34 #CDD534 #7DD534
triadic
#CDD534 #34CDD5 #D534CD
tetradic
#CDD534 #34D58C #3C34D5 #D5347D
square
#CDD534 #34D58C #3C34D5 #D5347D
split-complementary
#CDD534 #347DD5 #8C34D5
monochromatic
#717618 #A2A923 #CDD534 #D9DF67 #E6EA99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD534#FFFFFF#000000##000000
##CDD5341.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)
#E5CB06
Deuteranopia (green-blind)
#E6CE42
Tritanopia (blue-blind)
#DBC8B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd534;
/* rgb */ color: rgb(205, 213, 52);
/* oklch */ color: oklch(84.0% 0.172 112.5);
Tailwind
colors: {
  custom: {
    50: '#e0e178',
    500: '#cdd534',
    950: '#000000',
  },
}
SCSS
$custom: #cdd534;
$custom-light: #e0e178;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd534",
  "rgb": {
    "r": 205,
    "g": 213,
    "b": 52
  },
  "hsl": {
    "h": 62.981,
    "s": 65.714,
    "l": 51.961
  },
  "oklch": {
    "l": 0.84001,
    "c": 0.17197,
    "h": 112.5
  },
  "luminance": 0.60816
}

Semantic roles & 50–950 ramp

primary
#CDD534
secondary
#332F7E
accent
#3FE948
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDD534

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

Preview Lab → · Contrast checker → · Palette generator →

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