#CDC15A#CDC15A

#CDC15A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.125 H 102.7°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CDC15A
RGBrgb(205, 193, 90)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.9%, 56.1%, 19.6%)
CIE-LABlab(77.20, -8.88, 52.46)
CIE-LCHlch(77.20, 53.20, 99.61°)
OKLaboklab(80.04% -0.0275 0.1221)
OKLCHoklch(80.04% 0.125 102.7)
XYZxyz(46.0938, 51.8589, 17.2526)
Luminance0.5186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15A #5A66CD
analogous
#CD875A #CDC15A #9FCD5A
triadic
#CDC15A #5ACDC1 #C15ACD
tetradic
#CDC15A #5ACD87 #5A66CD #CD5A9F
square
#CDC15A #5ACD87 #5A66CD #CD5A9F
split-complementary
#CDC15A #5A9FCD #875ACD
monochromatic
#847B28 #B3A636 #CDC15A #DBD389 #E9E4B8

Accessibility & contrast

On white

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

On black

11.37
#CDC15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC15A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC15A#FFFFFF#000000##000000
##CDC15A1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15a;
/* rgb */ color: rgb(205, 193, 90);
/* oklch */ color: oklch(80.0% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#dfd38c',
    500: '#cdc15a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15a;
$custom-light: #dfd38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15a",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 53.739,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80036,
    "c": 0.12513,
    "h": 102.7
  },
  "luminance": 0.51857
}

Semantic roles & 50–950 ramp

primary
#CDC15A
secondary
#40478C
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC15A

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

Preview Lab → · Contrast checker → · Palette generator →

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