#D2CD49#D2CD49

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

Color values

HEX#D2CD49
RGBrgb(210, 205, 73)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 65%, 82%)
CMYKcmyk(0%, 2.4%, 65.2%, 17.6%)
CIE-LABlab(80.65, -14.02, 63.69)
CIE-LCHlch(80.65, 65.21, 102.42°)
OKLaboklab(82.84% -0.0443 0.1435)
OKLCHoklch(82.84% 0.15 107.2)
XYZxyz(49.6140, 57.8469, 14.8541)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD49 #494ED2
analogous
#D28849 #D2CD49 #92D249
triadic
#D2CD49 #49D2CD #CD49D2
tetradic
#D2CD49 #49D288 #494ED2 #D24992
square
#D2CD49 #49D288 #494ED2 #D24992
split-complementary
#D2CD49 #4992D2 #8849D2
monochromatic
#817D20 #B2AD2C #D2CD49 #DEDA7A #EAE8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CD49#FFFFFF#000000##000000
##D2CD491.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)
#DEC537
Deuteranopia (green-blind)
#E0CB51
Tritanopia (blue-blind)
#E1C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd49;
/* rgb */ color: rgb(210, 205, 73);
/* oklch */ color: oklch(82.8% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc82',
    500: '#d2cd49',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd49;
$custom-light: #e3dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd49",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 73
  },
  "hsl": {
    "h": 57.81,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82839,
    "c": 0.15019,
    "h": 107.2
  },
  "luminance": 0.57845
}

Semantic roles & 50–950 ramp

primary
#D2CD49
secondary
#373A88
accent
#4AE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD49

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

Preview Lab → · Contrast checker → · Palette generator →

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