#CDCC57#CDCC57

#CDCC57 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.3% C 0.139 H 108.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CDCC57
RGBrgb(205, 204, 87)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 0.5%, 57.6%, 19.6%)
CIE-LABlab(80.10, -14.69, 57.08)
CIE-LCHlch(80.10, 58.94, 104.43°)
OKLaboklab(82.34% -0.0444 0.1316)
OKLCHoklch(82.34% 0.139 108.6)
XYZxyz(48.4914, 56.8543, 17.4346)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC57 #5758CD
analogous
#CD9157 #CDCC57 #93CD57
triadic
#CDCC57 #57CDCC #CC57CD
tetradic
#CDCC57 #57CD91 #5758CD #CD5793
square
#CDCC57 #57CD91 #5758CD #CD5793
split-complementary
#CDCC57 #5793CD #9157CD
monochromatic
#838227 #B2B135 #CDCC57 #DBDA86 #E9E9B5

Accessibility & contrast

On white

1.70
#CDCC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#CDCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC57
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC57#FFFFFF#000000##000000
##CDCC571.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc57;
/* rgb */ color: rgb(205, 204, 87);
/* oklch */ color: oklch(82.3% 0.139 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdb8b',
    500: '#cdcc57',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc57;
$custom-light: #dfdb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc57",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 59.492,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82335,
    "c": 0.13889,
    "h": 108.6
  },
  "luminance": 0.56853
}

Semantic roles & 50–950 ramp

primary
#CDCC57
secondary
#3E3F8A
accent
#4CDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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