#D2CD45#D2CD45

#D2CD45 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.153 H 107.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D2CD45
RGBrgb(210, 205, 69)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 67%, 82%)
CMYKcmyk(0%, 2.4%, 67.1%, 17.6%)
CIE-LABlab(80.63, -14.25, 65.22)
CIE-LCHlch(80.63, 66.76, 102.32°)
OKLaboklab(82.81% -0.0453 0.1461)
OKLCHoklch(82.81% 0.153 107.2)
XYZxyz(49.4856, 57.7956, 14.1780)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD45 #454AD2
analogous
#D28645 #D2CD45 #91D245
triadic
#D2CD45 #45D2CD #CD45D2
tetradic
#D2CD45 #45D286 #454AD2 #D24591
square
#D2CD45 #45D286 #454AD2 #D24591
split-complementary
#D2CD45 #4591D2 #8645D2
monochromatic
#7E7B1F #AFAB2A #D2CD45 #DEDA76 #EAE7A8

Accessibility & contrast

On white

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

On black

12.56
#D2CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD45
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD45#FFFFFF#000000##000000
##D2CD451.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC531
Deuteranopia (green-blind)
#E0CA4E
Tritanopia (blue-blind)
#E1C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd45;
/* rgb */ color: rgb(210, 205, 69);
/* oklch */ color: oklch(82.8% 0.153 107.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc80',
    500: '#d2cd45',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd45;
$custom-light: #e3dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd45",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 57.872,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82807,
    "c": 0.15299,
    "h": 107.2
  },
  "luminance": 0.57794
}

Semantic roles & 50–950 ramp

primary
#D2CD45
secondary
#363886
accent
#49E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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