#CDC15D#CDC15D

#CDC15D is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.122 H 102.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#CDC15D
RGBrgb(205, 193, 93)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.9%, 54.6%, 19.6%)
CIE-LABlab(77.23, -8.64, 51.10)
CIE-LCHlch(77.23, 51.82, 99.60°)
OKLaboklab(80.07% -0.0265 0.1195)
OKLCHoklch(80.07% 0.122 102.5)
XYZxyz(46.2241, 51.9110, 17.9387)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15D #5D69CD
analogous
#CD895D #CDC15D #A1CD5D
triadic
#CDC15D #5DCDC1 #C15DCD
tetradic
#CDC15D #5DCD89 #5D69CD #CD5DA1
square
#CDC15D #5DCD89 #5D69CD #CD5DA1
split-complementary
#CDC15D #5DA1CD #895DCD
monochromatic
#867C29 #B5A838 #CDC15D #DBD38C #EAE5BB

Accessibility & contrast

On white

1.85
#CDC15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#CDC15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC15D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC15D#FFFFFF#000000##000000
##CDC15D1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC53
Deuteranopia (green-blind)
#D4C162
Tritanopia (blue-blind)
#DBB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15d;
/* rgb */ color: rgb(205, 193, 93);
/* oklch */ color: oklch(80.1% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#dfd38e',
    500: '#cdc15d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15d;
$custom-light: #dfd38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15d",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 53.571,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80071,
    "c": 0.12236,
    "h": 102.5
  },
  "luminance": 0.51909
}

Semantic roles & 50–950 ramp

primary
#CDC15D
secondary
#41498D
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC15D

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

Preview Lab → · Contrast checker → · Palette generator →

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