#D1CD56#D1CD56

#D1CD56 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.140 H 107.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D1CD56
RGBrgb(209, 205, 86)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 59%, 82%)
CMYKcmyk(0%, 1.9%, 58.9%, 18%)
CIE-LABlab(80.68, -13.61, 58.25)
CIE-LCHlch(80.68, 59.82, 103.15°)
OKLaboklab(82.87% -0.0417 0.1339)
OKLCHoklch(82.87% 0.14 107.3)
XYZxyz(49.8071, 57.8913, 17.3528)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD56 #565AD1
analogous
#D19056 #D1CD56 #97D156
triadic
#D1CD56 #56D1CD #CD56D1
tetradic
#D1CD56 #56D190 #565AD1 #D15697
square
#D1CD56 #56D190 #565AD1 #D15697
split-complementary
#D1CD56 #5697D1 #9056D1
monochromatic
#888425 #B8B332 #D1CD56 #DEDB86 #EBE9B6

Accessibility & contrast

On white

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

On black

12.58
#D1CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD56
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD56#FFFFFF#000000##000000
##D1CD561.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd56;
/* rgb */ color: rgb(209, 205, 86);
/* oklch */ color: oklch(82.9% 0.140 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc8a',
    500: '#d1cd56',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd56;
$custom-light: #e2dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd56",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 58.049,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82873,
    "c": 0.14022,
    "h": 107.3
  },
  "luminance": 0.5789
}

Semantic roles & 50–950 ramp

primary
#D1CD56
secondary
#3D408E
accent
#4CE047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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