#D2CD3D#D2CD3D

#D2CD3D is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.158 H 107.4°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D2CD3D
RGBrgb(210, 205, 61)
HSLhsl(58, 62%, 53%)
HSVhsv(58, 71%, 82%)
CMYKcmyk(0%, 2.4%, 71%, 17.6%)
CIE-LABlab(80.57, -14.65, 68.13)
CIE-LCHlch(80.57, 69.69, 102.14°)
OKLaboklab(82.75% -0.0473 0.1509)
OKLCHoklch(82.75% 0.158 107.4)
XYZxyz(49.2539, 57.7029, 12.9573)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD3D #3D42D2
analogous
#D2833D #D2CD3D #8CD23D
triadic
#D2CD3D #3DD2CD #CD3DD2
tetradic
#D2CD3D #3DD283 #3D42D2 #D23D8C
square
#D2CD3D #3DD283 #3D42D2 #D23D8C
split-complementary
#D2CD3D #3D8CD2 #833DD2
monochromatic
#79761C #AAA628 #D2CD3D #DEDA6F #E9E7A0

Accessibility & contrast

On white

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

On black

12.54
#D2CD3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD3D
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD3D#FFFFFF#000000##000000
##D2CD3D1.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC523
Deuteranopia (green-blind)
#E1CA47
Tritanopia (blue-blind)
#E1C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd3d;
/* rgb */ color: rgb(210, 205, 61);
/* oklch */ color: oklch(82.8% 0.158 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dc7c',
    500: '#d2cd3d',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd3d;
$custom-light: #e3dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd3d",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 57.987,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8275,
    "c": 0.15813,
    "h": 107.4
  },
  "luminance": 0.57701
}

Semantic roles & 50–950 ramp

primary
#D2CD3D
secondary
#323581
accent
#48E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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