#CDCE56#CDCE56

#CDCE56 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.142 H 109.6°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CDCE56
RGBrgb(205, 206, 86)
HSLhsl(61, 55%, 57%)
HSVhsv(61, 58%, 81%)
CMYKcmyk(0.5%, 0%, 58.3%, 19.2%)
CIE-LABlab(80.62, -15.76, 58.10)
CIE-LCHlch(80.62, 60.20, 105.18°)
OKLaboklab(82.75% -0.0475 0.1337)
OKLCHoklch(82.75% 0.142 109.6)
XYZxyz(48.9292, 57.7949, 17.3804)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE56 #5756CE
analogous
#CE9356 #CDCE56 #91CE56
triadic
#CDCE56 #56CDCE #CE56CD
tetradic
#CDCE56 #56CE93 #5756CE #CE5691
square
#CDCE56 #56CE93 #5756CE #CE5691
split-complementary
#CDCE56 #5691CE #9356CE
monochromatic
#838326 #B2B334 #CDCE56 #DBDC85 #E9EAB5

Accessibility & contrast

On white

1.67
#CDCE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CDCE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE56
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE56#FFFFFF#000000##000000
##CDCE561.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce56;
/* rgb */ color: rgb(205, 206, 86);
/* oklch */ color: oklch(82.8% 0.142 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc8a',
    500: '#cdce56',
    950: '#000000',
  },
}
SCSS
$custom: #cdce56;
$custom-light: #dfdc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce56",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 60.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82752,
    "c": 0.14185,
    "h": 109.6
  },
  "luminance": 0.57794
}

Semantic roles & 50–950 ramp

primary
#CDCE56
secondary
#3E3E8B
accent
#49DE4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCE56

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

Preview Lab → · Contrast checker → · Palette generator →

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