#CDC357#CDC357

#CDC357 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.130 H 104.0°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#CDC357
RGBrgb(205, 195, 87)
HSLhsl(55, 54%, 57%)
HSVhsv(55, 58%, 80%)
CMYKcmyk(0%, 4.9%, 57.6%, 19.6%)
CIE-LABlab(77.70, -10.13, 54.40)
CIE-LCHlch(77.70, 55.33, 100.55°)
OKLaboklab(80.42% -0.0314 0.1259)
OKLCHoklch(80.42% 0.13 104)
XYZxyz(46.4138, 52.6991, 16.7420)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC357 #5761CD
analogous
#CD8857 #CDC357 #9CCD57
triadic
#CDC357 #57CDC3 #C357CD
tetradic
#CDC357 #57CD88 #5761CD #CD579C
square
#CDC357 #57CD88 #5761CD #CD579C
split-complementary
#CDC357 #579CCD #8857CD
monochromatic
#837B27 #B2A735 #CDC357 #DBD486 #E9E5B5

Accessibility & contrast

On white

1.82
#CDC357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#CDC357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC357
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC357#FFFFFF#000000##000000
##CDC3571.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4C
Deuteranopia (green-blind)
#D6C25D
Tritanopia (blue-blind)
#DBB7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc357;
/* rgb */ color: rgb(205, 195, 87);
/* oklch */ color: oklch(80.4% 0.130 104.0);
Tailwind
colors: {
  custom: {
    50: '#dfd48a',
    500: '#cdc357',
    950: '#000000',
  },
}
SCSS
$custom: #cdc357;
$custom-light: #dfd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc357",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 54.915,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80424,
    "c": 0.12974,
    "h": 104
  },
  "luminance": 0.52697
}

Semantic roles & 50–950 ramp

primary
#CDC357
secondary
#3E458A
accent
#57DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC357

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

Preview Lab → · Contrast checker → · Palette generator →

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