#CDC55D#CDC55D

#CDC55D is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.126 H 104.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CDC55D
RGBrgb(205, 197, 93)
HSLhsl(56, 53%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.9%, 54.6%, 19.6%)
CIE-LABlab(78.29, -10.69, 52.32)
CIE-LCHlch(78.29, 53.40, 101.55°)
OKLaboklab(80.91% -0.0324 0.1221)
OKLCHoklch(80.91% 0.126 104.8)
XYZxyz(47.1203, 53.7035, 18.2375)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC55D #5D65CD
analogous
#CD8D5D #CDC55D #9DCD5D
triadic
#CDC55D #5DCDC5 #C55DCD
tetradic
#CDC55D #5DCD8D #5D65CD #CD5D9D
square
#CDC55D #5DCD8D #5D65CD #CD5D9D
split-complementary
#CDC55D #5D9DCD #8D5DCD
monochromatic
#868029 #B5AC38 #CDC55D #DBD68C #EAE6BB

Accessibility & contrast

On white

1.79
#CDC55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CDC55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC55D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC55D#FFFFFF#000000##000000
##CDC55D1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF53
Deuteranopia (green-blind)
#D7C462
Tritanopia (blue-blind)
#DAB9AE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc55d;
/* rgb */ color: rgb(205, 197, 93);
/* oklch */ color: oklch(80.9% 0.126 104.8);
Tailwind
colors: {
  custom: {
    50: '#dfd68e',
    500: '#cdc55d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc55d;
$custom-light: #dfd68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc55d",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 93
  },
  "hsl": {
    "h": 55.714,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.12632,
    "h": 104.8
  },
  "luminance": 0.53702
}

Semantic roles & 50–950 ramp

primary
#CDC55D
secondary
#41468D
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC55D

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

Preview Lab → · Contrast checker → · Palette generator →

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