#CDC153#CDC153

#CDC153 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.131 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CDC153
RGBrgb(205, 193, 83)
HSLhsl(54, 55%, 56%)
HSVhsv(54, 60%, 80%)
CMYKcmyk(0%, 5.9%, 59.5%, 19.6%)
CIE-LABlab(77.13, -9.39, 55.56)
CIE-LCHlch(77.13, 56.35, 99.60°)
OKLaboklab(79.96% -0.0298 0.1279)
OKLCHoklch(79.96% 0.131 103.1)
XYZxyz(45.8098, 51.7453, 15.7567)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC153 #535FCD
analogous
#CD8453 #CDC153 #9CCD53
triadic
#CDC153 #53CDC1 #C153CD
tetradic
#CDC153 #53CD84 #535FCD #CD539C
square
#CDC153 #53CD84 #535FCD #CD539C
split-complementary
#CDC153 #539CCD #8453CD
monochromatic
#807725 #B0A333 #CDC153 #DBD282 #E9E3B2

Accessibility & contrast

On white

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

On black

11.35
#CDC153 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC153
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC153#FFFFFF#000000##000000
##CDC1531.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB47
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc153;
/* rgb */ color: rgb(205, 193, 83);
/* oklch */ color: oklch(80.0% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#dfd387',
    500: '#cdc153',
    950: '#000000',
  },
}
SCSS
$custom: #cdc153;
$custom-light: #dfd387;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc153",
  "rgb": {
    "r": 205,
    "g": 193,
    "b": 83
  },
  "hsl": {
    "h": 54.098,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.7996,
    "c": 0.13128,
    "h": 103.1
  },
  "luminance": 0.51744
}

Semantic roles & 50–950 ramp

primary
#CDC153
secondary
#3C4488
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC153

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

Preview Lab → · Contrast checker → · Palette generator →

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