#D2CD3F#D2CD3F

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

Color values

HEX#D2CD3F
RGBrgb(210, 205, 63)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 70%, 82%)
CMYKcmyk(0%, 2.4%, 70%, 17.6%)
CIE-LABlab(80.59, -14.56, 67.43)
CIE-LCHlch(80.59, 68.98, 102.18°)
OKLaboklab(82.76% -0.0468 0.1498)
OKLCHoklch(82.76% 0.157 107.4)
XYZxyz(49.3087, 57.7248, 13.2463)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD3F #3F44D2
analogous
#D2833F #D2CD3F #8DD23F
triadic
#D2CD3F #3FD2CD #CD3FD2
tetradic
#D2CD3F #3FD283 #3F44D2 #D23F8D
square
#D2CD3F #3FD283 #3F44D2 #D23F8D
split-complementary
#D2CD3F #3F8DD2 #833FD2
monochromatic
#7A771D #ACA728 #D2CD3F #DEDA71 #E9E7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD3F#FFFFFF#000000##000000
##D2CD3F1.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)
#DEC527
Deuteranopia (green-blind)
#E1CA49
Tritanopia (blue-blind)
#E1C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd3f;
/* rgb */ color: rgb(210, 205, 63);
/* oklch */ color: oklch(82.8% 0.157 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dc7d',
    500: '#d2cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd3f;
$custom-light: #e3dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd3f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 57.959,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.82763,
    "c": 0.1569,
    "h": 107.4
  },
  "luminance": 0.57723
}

Semantic roles & 50–950 ramp

primary
#D2CD3F
secondary
#333682
accent
#48E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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