#CDC253#CDC253

#CDC253 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.132 H 103.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CDC253
RGBrgb(205, 194, 83)
HSLhsl(55, 55%, 56%)
HSVhsv(55, 60%, 80%)
CMYKcmyk(0%, 5.4%, 59.5%, 19.6%)
CIE-LABlab(77.39, -9.91, 55.86)
CIE-LCHlch(77.39, 56.73, 100.06°)
OKLaboklab(80.17% -0.0312 0.1285)
OKLCHoklch(80.17% 0.132 103.7)
XYZxyz(46.0316, 52.1889, 15.8307)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC253 #535ECD
analogous
#CD8553 #CDC253 #9BCD53
triadic
#CDC253 #53CDC2 #C253CD
tetradic
#CDC253 #53CD85 #535ECD #CD539B
square
#CDC253 #53CD85 #535ECD #CD539B
split-complementary
#CDC253 #539BCD #8553CD
monochromatic
#807825 #B0A433 #CDC253 #DBD382 #E9E4B2

Accessibility & contrast

On white

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

On black

11.44
#CDC253 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC253
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC253#FFFFFF#000000##000000
##CDC2531.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC47
Deuteranopia (green-blind)
#D5C259
Tritanopia (blue-blind)
#DBB6AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cdc253;
/* rgb */ color: rgb(205, 194, 83);
/* oklch */ color: oklch(80.2% 0.132 103.7);
Tailwind
colors: {
  custom: {
    50: '#dfd488',
    500: '#cdc253',
    950: '#000000',
  },
}
SCSS
$custom: #cdc253;
$custom-light: #dfd488;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc253",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 83
  },
  "hsl": {
    "h": 54.59,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80171,
    "c": 0.13223,
    "h": 103.7
  },
  "luminance": 0.52187
}

Semantic roles & 50–950 ramp

primary
#CDC253
secondary
#3C4388
accent
#57DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC253

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

Preview Lab → · Contrast checker → · Palette generator →

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