#D2CD68#D2CD68

#D2CD68 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.124 H 106.2°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D2CD68
RGBrgb(210, 205, 104)
HSLhsl(57, 54%, 62%)
HSVhsv(57, 50%, 82%)
CMYKcmyk(0%, 2.4%, 50.5%, 17.6%)
CIE-LABlab(80.94, -11.79, 50.36)
CIE-LCHlch(80.94, 51.72, 103.18°)
OKLaboklab(83.16% -0.0346 0.1189)
OKLCHoklch(83.16% 0.124 106.2)
XYZxyz(50.9097, 58.3652, 21.6779)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD68 #686DD2
analogous
#D29868 #D2CD68 #A2D268
triadic
#D2CD68 #68D2CD #CD68D2
tetradic
#D2CD68 #68D298 #686DD2 #D268A2
square
#D2CD68 #68D298 #686DD2 #D268A2
split-complementary
#D2CD68 #68A2D2 #9868D2
monochromatic
#948F2C #C3BC3A #D2CD68 #E0DD97 #EEECC6

Accessibility & contrast

On white

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

On black

12.67
#D2CD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD68
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD68#FFFFFF#000000##000000
##D2CD681.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65F
Deuteranopia (green-blind)
#DECB6D
Tritanopia (blue-blind)
#DFC2B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cd68;
/* rgb */ color: rgb(210, 205, 104);
/* oklch */ color: oklch(83.2% 0.124 106.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc96',
    500: '#d2cd68',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd68;
$custom-light: #e2dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd68",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 57.17,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83161,
    "c": 0.1238,
    "h": 106.2
  },
  "luminance": 0.58364
}

Semantic roles & 50–950 ramp

primary
#D2CD68
secondary
#454999
accent
#2BC224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CD68

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

Preview Lab → · Contrast checker → · Palette generator →

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