#CDCD56#CDCD56

#CDCD56 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.5% C 0.141 H 109.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#CDCD56
RGBrgb(205, 205, 86)
HSLhsl(60, 54%, 57%)
HSVhsv(60, 58%, 80%)
CMYKcmyk(0%, 0%, 58%, 19.6%)
CIE-LABlab(80.36, -15.26, 57.81)
CIE-LCHlch(80.36, 59.79, 104.79°)
OKLaboklab(82.54% -0.0461 0.133)
OKLCHoklch(82.54% 0.141 109.1)
XYZxyz(48.6893, 57.3150, 17.3004)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCD56 #5656CD
analogous
#CD9256 #CDCD56 #92CD56
triadic
#CDCD56 #56CDCD #CD56CD
tetradic
#CDCD56 #56CD92 #5656CD #CD5692
square
#CDCD56 #56CD92 #5656CD #CD5692
split-complementary
#CDCD56 #5692CD #9256CD
monochromatic
#828226 #B1B134 #CDCD56 #DBDB85 #E9E9B4

Accessibility & contrast

On white

1.69
#CDCD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#CDCD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCD56
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCD56#FFFFFF#000000##000000
##CDCD561.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#DAC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cdcd56;
/* rgb */ color: rgb(205, 205, 86);
/* oklch */ color: oklch(82.5% 0.141 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdc8a',
    500: '#cdcd56',
    950: '#000000',
  },
}
SCSS
$custom: #cdcd56;
$custom-light: #dfdc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcd56",
  "rgb": {
    "r": 205,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82538,
    "c": 0.14079,
    "h": 109.1
  },
  "luminance": 0.57314
}

Semantic roles & 50–950 ramp

primary
#CDCD56
secondary
#3E3E89
accent
#4ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCD56

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

Preview Lab → · Contrast checker → · Palette generator →

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