#CDD955#CDD955

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

Color values

HEX#CDD955
RGBrgb(205, 217, 85)
HSLhsl(65, 63%, 59%)
HSVhsv(65, 61%, 85%)
CMYKcmyk(5.5%, 0%, 60.8%, 14.9%)
CIE-LABlab(83.58, -21.26, 61.75)
CIE-LCHlch(83.58, 65.31, 108.99°)
OKLaboklab(85.11% -0.0631 0.1413)
OKLCHoklch(85.11% 0.155 114.1)
XYZxyz(51.6306, 63.2616, 18.0834)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD955 #6155D9
analogous
#D9A355 #CDD955 #8BD955
triadic
#CDD955 #55CDD9 #D955CD
tetradic
#CDD955 #55D9A3 #6155D9 #D9558B
square
#CDD955 #55D9A3 #6155D9 #D9558B
split-complementary
#CDD955 #558BD9 #A355D9
monochromatic
#889321 #B7C52C #CDD955 #DCE487 #EAEFB9

Accessibility & contrast

On white

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

On black

13.65
#CDD955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD955
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD955#FFFFFF#000000##000000
##CDD9551.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd955;
/* rgb */ color: rgb(205, 217, 85);
/* oklch */ color: oklch(85.1% 0.155 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe48a',
    500: '#cdd955',
    950: '#000000',
  },
}
SCSS
$custom: #cdd955;
$custom-light: #dfe48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd955",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 65.455,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85111,
    "c": 0.15474,
    "h": 114.1
  },
  "luminance": 0.63261
}

Semantic roles & 50–950 ramp

primary
#CDD955
secondary
#433A98
accent
#41E650
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD955

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

Preview Lab → · Contrast checker → · Palette generator →

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