#D2CD4B#D2CD4B

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

Color values

HEX#D2CD4B
RGBrgb(210, 205, 75)
HSLhsl(58, 60%, 56%)
HSVhsv(58, 64%, 82%)
CMYKcmyk(0%, 2.4%, 64.3%, 17.6%)
CIE-LABlab(80.67, -13.91, 62.90)
CIE-LCHlch(80.67, 64.42, 102.47°)
OKLaboklab(82.86% -0.0438 0.1422)
OKLCHoklch(82.86% 0.149 107.1)
XYZxyz(49.6814, 57.8739, 15.2090)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD4B #4B50D2
analogous
#D2894B #D2CD4B #93D24B
triadic
#D2CD4B #4BD2CD #CD4BD2
tetradic
#D2CD4B #4BD289 #4B50D2 #D24B93
square
#D2CD4B #4BD289 #4B50D2 #D24B93
split-complementary
#D2CD4B #4B93D2 #894BD2
monochromatic
#827E21 #B3AE2D #D2CD4B #DEDB7C #EAE8AD

Accessibility & contrast

On white

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

On black

12.57
#D2CD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD4B
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD4B#FFFFFF#000000##000000
##D2CD4B1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cd4b;
/* rgb */ color: rgb(210, 205, 75);
/* oklch */ color: oklch(82.9% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e3dc84',
    500: '#d2cd4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd4b;
$custom-light: #e3dc84;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd4b",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 57.778,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82856,
    "c": 0.14874,
    "h": 107.1
  },
  "luminance": 0.57872
}

Semantic roles & 50–950 ramp

primary
#D2CD4B
secondary
#383B89
accent
#4BE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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