#CDD956#CDD956

#CDD956 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.154 H 114.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#CDD956
RGBrgb(205, 217, 86)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 60%, 85%)
CMYKcmyk(5.5%, 0%, 60.4%, 14.9%)
CIE-LABlab(83.59, -21.19, 61.34)
CIE-LCHlch(83.59, 64.90, 109.05°)
OKLaboklab(85.12% -0.0629 0.1405)
OKLCHoklch(85.12% 0.154 114.1)
XYZxyz(51.6706, 63.2776, 18.2942)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD956 #6256D9
analogous
#D9A456 #CDD956 #8CD956
triadic
#CDD956 #56CDD9 #D956CD
tetradic
#CDD956 #56D9A4 #6256D9 #D9568C
square
#CDD956 #56D9A4 #6256D9 #D9568C
split-complementary
#CDD956 #568CD9 #A456D9
monochromatic
#899321 #B7C52C #CDD956 #DCE488 #EBEFBA

Accessibility & contrast

On white

1.54
#CDD956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#CDD956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD956
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD956#FFFFFF#000000##000000
##CDD9561.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#E7D25E
Tritanopia (blue-blind)
#D9CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd956;
/* rgb */ color: rgb(205, 217, 86);
/* oklch */ color: oklch(85.1% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe48b',
    500: '#cdd956',
    950: '#000000',
  },
}
SCSS
$custom: #cdd956;
$custom-light: #dfe48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd956",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 65.496,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85121,
    "c": 0.15395,
    "h": 114.1
  },
  "luminance": 0.63277
}

Semantic roles & 50–950 ramp

primary
#CDD956
secondary
#433B98
accent
#41E651
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD956

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

Preview Lab → · Contrast checker → · Palette generator →

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