#CDCC56#CDCC56

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

Color values

HEX#CDCC56
RGBrgb(205, 204, 86)
HSLhsl(59, 54%, 57%)
HSVhsv(59, 58%, 80%)
CMYKcmyk(0%, 0.5%, 58%, 19.6%)
CIE-LABlab(80.09, -14.76, 57.51)
CIE-LCHlch(80.09, 59.37, 104.39°)
OKLaboklab(82.33% -0.0447 0.1324)
OKLCHoklch(82.33% 0.14 108.7)
XYZxyz(48.4508, 56.8381, 17.2209)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC56 #5657CD
analogous
#CD9156 #CDCC56 #93CD56
triadic
#CDCC56 #56CDCC #CC56CD
tetradic
#CDCC56 #56CD91 #5657CD #CD5693
square
#CDCC56 #56CD91 #5657CD #CD5693
split-complementary
#CDCC56 #5693CD #9156CD
monochromatic
#828126 #B1B034 #CDCC56 #DBDA85 #E9E9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCC56#FFFFFF#000000##000000
##CDCC561.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)
#DBC449
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#DAC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcc56;
/* rgb */ color: rgb(205, 204, 86);
/* oklch */ color: oklch(82.3% 0.140 108.7);
Tailwind
colors: {
  custom: {
    50: '#dfdb8a',
    500: '#cdcc56',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc56;
$custom-light: #dfdb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc56",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 59.496,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82325,
    "c": 0.13974,
    "h": 108.7
  },
  "luminance": 0.56837
}

Semantic roles & 50–950 ramp

primary
#CDCC56
secondary
#3E3E89
accent
#4BDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDCC56

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

Preview Lab → · Contrast checker → · Palette generator →

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