#CDC15B#CDC15B

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

Color values

HEX#CDC15B
RGBrgb(205, 193, 91)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.9%, 55.6%, 19.6%)
CIE-LABlab(77.21, -8.80, 52.01)
CIE-LCHlch(77.21, 52.75, 99.61°)
OKLaboklab(80.05% -0.0272 0.1212)
OKLCHoklch(80.05% 0.124 102.6)
XYZxyz(46.1366, 51.8760, 17.4783)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC15B #5B67CD
analogous
#CD885B #CDC15B #A0CD5B
triadic
#CDC15B #5BCDC1 #C15BCD
tetradic
#CDC15B #5BCD88 #5B67CD #CD5BA0
square
#CDC15B #5BCD88 #5B67CD #CD5BA0
split-complementary
#CDC15B #5BA0CD #885BCD
monochromatic
#857B29 #B4A737 #CDC15B #DBD38A #EAE4B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC15B#FFFFFF#000000##000000
##CDC15B1.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)
#D0BB51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#DBB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc15b;
/* rgb */ color: rgb(205, 193, 91);
/* oklch */ color: oklch(80.0% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd38c',
    500: '#cdc15b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc15b;
$custom-light: #dfd38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc15b",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 53.684,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80047,
    "c": 0.12422,
    "h": 102.6
  },
  "luminance": 0.51874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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