#CDC15C#CDC15C

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

Color values

HEX#CDC15C
RGBrgb(205, 193, 92)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.9%, 55.1%, 19.6%)
CIE-LABlab(77.22, -8.72, 51.55)
CIE-LCHlch(77.22, 52.28, 99.60°)
OKLaboklab(80.06% -0.0268 0.1203)
OKLCHoklch(80.06% 0.123 102.6)
XYZxyz(46.1801, 51.8934, 17.7070)
Luminance0.5189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15C #5C68CD
analogous
#CD885C #CDC15C #A1CD5C
triadic
#CDC15C #5CCDC1 #C15CCD
tetradic
#CDC15C #5CCD88 #5C68CD #CD5CA1
square
#CDC15C #5CCD88 #5C68CD #CD5CA1
split-complementary
#CDC15C #5CA1CD #885CCD
monochromatic
#867C29 #B4A737 #CDC15C #DBD38B #EAE5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC15C#FFFFFF#000000##000000
##CDC15C1.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)
#D0BB52
Deuteranopia (green-blind)
#D4C161
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15c;
/* rgb */ color: rgb(205, 193, 92);
/* oklch */ color: oklch(80.1% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd38d',
    500: '#cdc15c',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15c;
$custom-light: #dfd38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15c",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 53.628,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.1233,
    "h": 102.6
  },
  "luminance": 0.51892
}

Semantic roles & 50–950 ramp

primary
#CDC15C
secondary
#40498D
accent
#5BDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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