#CDC56D#CDC56D

#CDC56D is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.111 H 104.0°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDC56D
RGBrgb(205, 197, 109)
HSLhsl(55, 49%, 62%)
HSVhsv(55, 47%, 80%)
CMYKcmyk(0%, 3.9%, 46.8%, 19.6%)
CIE-LABlab(78.47, -9.30, 44.87)
CIE-LCHlch(78.47, 45.83, 101.71°)
OKLaboklab(81.12% -0.0267 0.1073)
OKLCHoklch(81.12% 0.111 104)
XYZxyz(47.9046, 54.0172, 22.3679)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC56D #6D75CD
analogous
#CD956D #CDC56D #A5CD6D
triadic
#CDC56D #6DCDC5 #C56DCD
tetradic
#CDC56D #6DCD95 #6D75CD #CD6DA5
square
#CDC56D #6DCD95 #6D75CD #CD6DA5
split-complementary
#CDC56D #6DA5CD #956DCD
monochromatic
#8F8731 #BCB240 #CDC56D #DDD79B #ECE9C8

Accessibility & contrast

On white

1.78
#CDC56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CDC56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC56D
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC56D#FFFFFF#000000##000000
##CDC56D1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C066
Deuteranopia (green-blind)
#D6C471
Tritanopia (blue-blind)
#D9BBB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc56d;
/* rgb */ color: rgb(205, 197, 109);
/* oklch */ color: oklch(81.1% 0.111 104.0);
Tailwind
colors: {
  custom: {
    50: '#ded698',
    500: '#cdc56d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc56d;
$custom-light: #ded698;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc56d",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 109
  },
  "hsl": {
    "h": 55,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81118,
    "c": 0.11057,
    "h": 104
  },
  "luminance": 0.54016
}

Semantic roles & 50–950 ramp

primary
#CDC56D
secondary
#494F95
accent
#35BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC56D

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

Preview Lab → · Contrast checker → · Palette generator →

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