#CDD255#CDD255

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

Color values

HEX#CDD255
RGBrgb(205, 210, 85)
HSLhsl(62, 58%, 58%)
HSVhsv(62, 60%, 82%)
CMYKcmyk(2.4%, 0%, 59.5%, 17.6%)
CIE-LABlab(81.69, -17.82, 59.70)
CIE-LCHlch(81.69, 62.31, 106.62°)
OKLaboklab(83.6% -0.0535 0.1369)
OKLCHoklch(83.6% 0.147 111.3)
XYZxyz(49.8645, 59.7293, 17.4947)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD255 #5A55D2
analogous
#D29855 #CDD255 #8ED255
triadic
#CDD255 #55CDD2 #D255CD
tetradic
#CDD255 #55D298 #5A55D2 #D2558E
square
#CDD255 #55D298 #5A55D2 #D2558E
split-complementary
#CDD255 #558ED2 #9855D2
monochromatic
#848824 #B3B931 #CDD255 #DBDF85 #E9ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD255#FFFFFF#000000##000000
##CDD2551.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)
#E1C947
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#DAC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd255;
/* rgb */ color: rgb(205, 210, 85);
/* oklch */ color: oklch(83.6% 0.147 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8a',
    500: '#cdd255',
    950: '#000000',
  },
}
SCSS
$custom: #cdd255;
$custom-light: #dfdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd255",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 62.4,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83601,
    "c": 0.14699,
    "h": 111.3
  },
  "luminance": 0.59728
}

Semantic roles & 50–950 ramp

primary
#CDD255
secondary
#403C8F
accent
#46E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD255

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

Preview Lab → · Contrast checker → · Palette generator →

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