#CDD856#CDD856

#CDD856 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.153 H 113.7°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#CDD856
RGBrgb(205, 216, 86)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 60%, 85%)
CMYKcmyk(5.1%, 0%, 60.2%, 15.3%)
CIE-LABlab(83.32, -20.70, 61.05)
CIE-LCHlch(83.32, 64.46, 108.73°)
OKLaboklab(84.9% -0.0615 0.1399)
OKLCHoklch(84.9% 0.153 113.7)
XYZxyz(51.4136, 62.7637, 18.2085)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD856 #6156D8
analogous
#D8A256 #CDD856 #8CD856
triadic
#CDD856 #56CDD8 #D856CD
tetradic
#CDD856 #56D8A2 #6156D8 #D8568C
square
#CDD856 #56D8A2 #6156D8 #D8568C
split-complementary
#CDD856 #568CD8 #A256D8
monochromatic
#889222 #B7C42D #CDD856 #DCE388 #EAEFB9

Accessibility & contrast

On white

1.55
#CDD856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#CDD856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD856
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD856#FFFFFF#000000##000000
##CDD8561.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE47
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#D9CCBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd856;
/* rgb */ color: rgb(205, 216, 86);
/* oklch */ color: oklch(84.9% 0.153 113.7);
Tailwind
colors: {
  custom: {
    50: '#dfe38b',
    500: '#cdd856',
    950: '#000000',
  },
}
SCSS
$custom: #cdd856;
$custom-light: #dfe38b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd856",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 65.077,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84904,
    "c": 0.15282,
    "h": 113.7
  },
  "luminance": 0.62763
}

Semantic roles & 50–950 ramp

primary
#CDD856
secondary
#433B97
accent
#42E650
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD856

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

Preview Lab → · Contrast checker → · Palette generator →

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