#D2CD56#D2CD56

#D2CD56 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.140 H 106.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D2CD56
RGBrgb(210, 205, 86)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 59%, 82%)
CMYKcmyk(0%, 2.4%, 59%, 17.6%)
CIE-LABlab(80.76, -13.20, 58.37)
CIE-LCHlch(80.76, 59.84, 102.74°)
OKLaboklab(82.96% -0.0406 0.1341)
OKLCHoklch(82.96% 0.14 106.8)
XYZxyz(50.0910, 58.0377, 17.3661)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD56 #565BD2
analogous
#D28F56 #D2CD56 #99D256
triadic
#D2CD56 #56D2CD #CD56D2
tetradic
#D2CD56 #56D28F #565BD2 #D25699
square
#D2CD56 #56D28F #565BD2 #D25699
split-complementary
#D2CD56 #5699D2 #8F56D2
monochromatic
#898525 #B9B431 #D2CD56 #DFDB86 #ECEAB7

Accessibility & contrast

On white

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

On black

12.61
#D2CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD56
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD56#FFFFFF#000000##000000
##D2CD561.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd56;
/* rgb */ color: rgb(210, 205, 86);
/* oklch */ color: oklch(83.0% 0.140 106.8);
Tailwind
colors: {
  custom: {
    50: '#e3dc8a',
    500: '#d2cd56',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd56;
$custom-light: #e3dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd56",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 57.581,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.1401,
    "h": 106.8
  },
  "luminance": 0.58036
}

Semantic roles & 50–950 ramp

primary
#D2CD56
secondary
#3D4090
accent
#4DE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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