#CDD256#CDD256

#CDD256 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.146 H 111.3°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CDD256
RGBrgb(205, 210, 86)
HSLhsl(62, 58%, 58%)
HSVhsv(62, 59%, 82%)
CMYKcmyk(2.4%, 0%, 59%, 17.6%)
CIE-LABlab(81.70, -17.75, 59.28)
CIE-LCHlch(81.70, 61.88, 106.67°)
OKLaboklab(83.61% -0.0532 0.1362)
OKLCHoklch(83.61% 0.146 111.3)
XYZxyz(49.9045, 59.7453, 17.7054)
Luminance0.5974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD256 #5B56D2
analogous
#D29956 #CDD256 #8FD256
triadic
#CDD256 #56CDD2 #D256CD
tetradic
#CDD256 #56D299 #5B56D2 #D2568F
square
#CDD256 #56D299 #5B56D2 #D2568F
split-complementary
#CDD256 #568FD2 #9956D2
monochromatic
#858925 #B4B931 #CDD256 #DBDF86 #EAECB7

Accessibility & contrast

On white

1.62
#CDD256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CDD256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD256
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD256#FFFFFF#000000##000000
##CDD2561.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd256;
/* rgb */ color: rgb(205, 210, 86);
/* oklch */ color: oklch(83.6% 0.146 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8a',
    500: '#cdd256',
    950: '#000000',
  },
}
SCSS
$custom: #cdd256;
$custom-light: #dfdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd256",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 62.419,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8361,
    "c": 0.14617,
    "h": 111.3
  },
  "luminance": 0.59744
}

Semantic roles & 50–950 ramp

primary
#CDD256
secondary
#403D90
accent
#47E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD256

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

Preview Lab → · Contrast checker → · Palette generator →

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