#CDC756#CDC756

#CDC756 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.135 H 106.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CDC756
RGBrgb(205, 199, 86)
HSLhsl(57, 54%, 57%)
HSVhsv(57, 58%, 80%)
CMYKcmyk(0%, 2.9%, 58%, 19.6%)
CIE-LABlab(78.75, -12.24, 56.03)
CIE-LCHlch(78.75, 57.35, 102.32°)
OKLaboklab(81.26% -0.0375 0.1292)
OKLCHoklch(81.26% 0.135 106.2)
XYZxyz(47.2815, 54.4994, 16.8311)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC756 #565CCD
analogous
#CD8C56 #CDC756 #98CD56
triadic
#CDC756 #56CDC7 #C756CD
tetradic
#CDC756 #56CD8C #565CCD #CD5698
square
#CDC756 #56CD8C #565CCD #CD5698
split-complementary
#CDC756 #5698CD #8C56CD
monochromatic
#827D26 #B1AB34 #CDC756 #DBD785 #E9E6B4

Accessibility & contrast

On white

1.76
#CDC756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#CDC756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC756
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC756#FFFFFF#000000##000000
##CDC7561.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04A
Deuteranopia (green-blind)
#D9C55C
Tritanopia (blue-blind)
#DBBBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc756;
/* rgb */ color: rgb(205, 199, 86);
/* oklch */ color: oklch(81.3% 0.135 106.2);
Tailwind
colors: {
  custom: {
    50: '#dfd78a',
    500: '#cdc756',
    950: '#000000',
  },
}
SCSS
$custom: #cdc756;
$custom-light: #dfd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc756",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 56.975,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.8126,
    "c": 0.13457,
    "h": 106.2
  },
  "luminance": 0.54498
}

Semantic roles & 50–950 ramp

primary
#CDC756
secondary
#3E4289
accent
#52DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CDC756

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

Preview Lab → · Contrast checker → · Palette generator →

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