#D2CD62#D2CD62

#D2CD62 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.130 H 106.5°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D2CD62
RGBrgb(210, 205, 98)
HSLhsl(57, 55%, 60%)
HSVhsv(57, 53%, 82%)
CMYKcmyk(0%, 2.4%, 53.3%, 17.6%)
CIE-LABlab(80.88, -12.29, 53.09)
CIE-LCHlch(80.88, 54.50, 103.04°)
OKLaboklab(83.09% -0.0367 0.1242)
OKLCHoklch(83.09% 0.13 106.5)
XYZxyz(50.6157, 58.2476, 20.1295)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD62 #6267D2
analogous
#D29562 #D2CD62 #9FD262
triadic
#D2CD62 #62D2CD #CD62D2
tetradic
#D2CD62 #62D295 #6267D2 #D2629F
square
#D2CD62 #62D295 #6267D2 #D2629F
split-complementary
#D2CD62 #629FD2 #9562D2
monochromatic
#908C29 #C0BA37 #D2CD62 #E0DC92 #EDEBC1

Accessibility & contrast

On white

1.66
#D2CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D2CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD62
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD62#FFFFFF#000000##000000
##D2CD621.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC658
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#DFC1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd62;
/* rgb */ color: rgb(210, 205, 98);
/* oklch */ color: oklch(83.1% 0.130 106.5);
Tailwind
colors: {
  custom: {
    50: '#e2dc92',
    500: '#d2cd62',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd62;
$custom-light: #e2dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd62",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 57.321,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.83088,
    "c": 0.12952,
    "h": 106.5
  },
  "luminance": 0.58246
}

Semantic roles & 50–950 ramp

primary
#D2CD62
secondary
#424696
accent
#2AC323
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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