#CDD456#CDD456

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

Color values

HEX#CDD456
RGBrgb(205, 212, 86)
HSLhsl(63, 59%, 58%)
HSVhsv(63, 59%, 83%)
CMYKcmyk(3.3%, 0%, 59.4%, 16.9%)
CIE-LABlab(82.24, -18.74, 59.87)
CIE-LCHlch(82.24, 62.74, 107.38°)
OKLaboklab(84.04% -0.056 0.1374)
OKLCHoklch(84.04% 0.148 112.2)
XYZxyz(50.4013, 60.7391, 17.8711)
Luminance0.6074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD456 #5D56D4
analogous
#D49C56 #CDD456 #8ED456
triadic
#CDD456 #56CDD4 #D456CD
tetradic
#CDD456 #56D49C #5D56D4 #D4568E
square
#CDD456 #56D49C #5D56D4 #D4568E
split-complementary
#CDD456 #568ED4 #9C56D4
monochromatic
#868C24 #B5BD30 #CDD456 #DBE087 #EAEDB8

Accessibility & contrast

On white

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

On black

13.15
#CDD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD456
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD456#FFFFFF#000000##000000
##CDD4561.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB47
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#DAC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd456;
/* rgb */ color: rgb(205, 212, 86);
/* oklch */ color: oklch(84.0% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#dfe18b',
    500: '#cdd456',
    950: '#000000',
  },
}
SCSS
$custom: #cdd456;
$custom-light: #dfe18b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd456",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 63.333,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84041,
    "c": 0.14837,
    "h": 112.2
  },
  "luminance": 0.60738
}

Semantic roles & 50–950 ramp

primary
#CDD456
secondary
#413C92
accent
#45E34E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD456

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

Preview Lab → · Contrast checker → · Palette generator →

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