#CDC15E#CDC15E

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

Color values

HEX#CDC15E
RGBrgb(205, 193, 94)
HSLhsl(54, 53%, 59%)
HSVhsv(54, 54%, 80%)
CMYKcmyk(0%, 5.9%, 54.1%, 19.6%)
CIE-LABlab(77.24, -8.56, 50.64)
CIE-LCHlch(77.24, 51.36, 99.60°)
OKLaboklab(80.08% -0.0262 0.1186)
OKLCHoklch(80.08% 0.121 102.4)
XYZxyz(46.2687, 51.9288, 18.1735)
Luminance0.5193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15E #5E6ACD
analogous
#CD895E #CDC15E #A1CD5E
triadic
#CDC15E #5ECDC1 #C15ECD
tetradic
#CDC15E #5ECD89 #5E6ACD #CD5EA1
square
#CDC15E #5ECD89 #5E6ACD #CD5EA1
split-complementary
#CDC15E #5EA1CD #895ECD
monochromatic
#877D2A #B5A838 #CDC15E #DCD38D #EAE5BB

Accessibility & contrast

On white

1.84
#CDC15E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CDC15E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC15E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC15E#FFFFFF#000000##000000
##CDC15E1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC54
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15e;
/* rgb */ color: rgb(205, 193, 94);
/* oklch */ color: oklch(80.1% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#dfd38e',
    500: '#cdc15e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15e;
$custom-light: #dfd38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15e",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 94
  },
  "hsl": {
    "h": 53.514,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80083,
    "c": 0.12143,
    "h": 102.4
  },
  "luminance": 0.51927
}

Semantic roles & 50–950 ramp

primary
#CDC15E
secondary
#414A8E
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC15E

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

Preview Lab → · Contrast checker → · Palette generator →

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