#CDC856#CDC856

#CDC856 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.136 H 106.7°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#CDC856
RGBrgb(205, 200, 86)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.4%, 58%, 19.6%)
CIE-LABlab(79.02, -12.74, 56.33)
CIE-LCHlch(79.02, 57.75, 102.75°)
OKLaboklab(81.47% -0.039 0.1299)
OKLCHoklch(81.47% 0.136 106.7)
XYZxyz(47.5123, 54.9610, 16.9081)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC856 #565BCD
analogous
#CD8D56 #CDC856 #97CD56
triadic
#CDC856 #56CDC8 #C856CD
tetradic
#CDC856 #56CD8D #565BCD #CD5697
square
#CDC856 #56CD8D #565BCD #CD5697
split-complementary
#CDC856 #5697CD #8D56CD
monochromatic
#827E26 #B1AC34 #CDC856 #DBD785 #E9E7B4

Accessibility & contrast

On white

1.75
#CDC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#CDC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC856
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC856#FFFFFF#000000##000000
##CDC8561.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#DBBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc856;
/* rgb */ color: rgb(205, 200, 86);
/* oklch */ color: oklch(81.5% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#dfd88a',
    500: '#cdc856',
    950: '#000000',
  },
}
SCSS
$custom: #cdc856;
$custom-light: #dfd88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc856",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 57.479,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81472,
    "c": 0.1356,
    "h": 106.7
  },
  "luminance": 0.5496
}

Semantic roles & 50–950 ramp

primary
#CDC856
secondary
#3E4189
accent
#50DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC856

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

Preview Lab → · Contrast checker → · Palette generator →

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