#CDC15F#CDC15F

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

Color values

HEX#CDC15F
RGBrgb(205, 193, 95)
HSLhsl(53, 52%, 59%)
HSVhsv(53, 54%, 80%)
CMYKcmyk(0%, 5.9%, 53.7%, 19.6%)
CIE-LABlab(77.25, -8.48, 50.18)
CIE-LCHlch(77.25, 50.89, 99.59°)
OKLaboklab(80.1% -0.0258 0.1177)
OKLCHoklch(80.1% 0.12 102.4)
XYZxyz(46.3138, 51.9469, 18.4114)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15F #5F6BCD
analogous
#CD8A5F #CDC15F #A2CD5F
triadic
#CDC15F #5FCDC1 #C15FCD
tetradic
#CDC15F #5FCD8A #5F6BCD #CD5FA2
square
#CDC15F #5FCD8A #5F6BCD #CD5FA2
split-complementary
#CDC15F #5FA2CD #8A5FCD
monochromatic
#877D2A #B6A839 #CDC15F #DCD38E #EAE5BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC15F#FFFFFF#000000##000000
##CDC15F1.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)
#D0BC56
Deuteranopia (green-blind)
#D4C164
Tritanopia (blue-blind)
#DBB6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15f;
/* rgb */ color: rgb(205, 193, 95);
/* oklch */ color: oklch(80.1% 0.120 102.4);
Tailwind
colors: {
  custom: {
    50: '#ded38f',
    500: '#cdc15f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15f;
$custom-light: #ded38f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15f",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 53.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80095,
    "c": 0.12049,
    "h": 102.4
  },
  "luminance": 0.51945
}

Semantic roles & 50–950 ramp

primary
#CDC15F
secondary
#424A8E
accent
#5CDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC15F

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

Preview Lab → · Contrast checker → · Palette generator →

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