#D2CD4F#D2CD4F

#D2CD4F is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.146 H 107.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D2CD4F
RGBrgb(210, 205, 79)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 2.4%, 62.4%, 17.6%)
CIE-LABlab(80.70, -13.66, 61.29)
CIE-LCHlch(80.70, 62.79, 102.57°)
OKLaboklab(82.89% -0.0426 0.1393)
OKLCHoklch(82.89% 0.146 107)
XYZxyz(49.8226, 57.9304, 15.9528)
Luminance0.5793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD4F #4F54D2
analogous
#D28C4F #D2CD4F #96D24F
triadic
#D2CD4F #4FD2CD #CD4FD2
tetradic
#D2CD4F #4FD28C #4F54D2 #D24F96
square
#D2CD4F #4FD28C #4F54D2 #D24F96
split-complementary
#D2CD4F #4F96D2 #8C4FD2
monochromatic
#858122 #B5B02E #D2CD4F #DEDB80 #EBE9B0

Accessibility & contrast

On white

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

On black

12.59
#D2CD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD4F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD4F#FFFFFF#000000##000000
##D2CD4F1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63F
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E0C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd4f;
/* rgb */ color: rgb(210, 205, 79);
/* oklch */ color: oklch(82.9% 0.146 107.0);
Tailwind
colors: {
  custom: {
    50: '#e3dc86',
    500: '#d2cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd4f;
$custom-light: #e3dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd4f",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 57.71,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82891,
    "c": 0.14572,
    "h": 107
  },
  "luminance": 0.57929
}

Semantic roles & 50–950 ramp

primary
#D2CD4F
secondary
#3A3D8C
accent
#4BE245
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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