#D2D749#D2D749

#D2D749 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.160 H 111.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D2D749
RGBrgb(210, 215, 73)
HSLhsl(62, 64%, 56%)
HSVhsv(62, 66%, 84%)
CMYKcmyk(2.3%, 0%, 66%, 15.7%)
CIE-LABlab(83.33, -18.99, 66.43)
CIE-LCHlch(83.33, 69.09, 105.95°)
OKLaboklab(84.98% -0.0583 0.1493)
OKLCHoklch(84.98% 0.16 111.3)
XYZxyz(52.0830, 62.7848, 15.6771)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D749 #4E49D7
analogous
#D79549 #D2D749 #8BD749
triadic
#D2D749 #49D2D7 #D749D2
tetradic
#D2D749 #49D795 #4E49D7 #D7498B
square
#D2D749 #49D795 #4E49D7 #D7498B
split-complementary
#D2D749 #498BD7 #9549D7
monochromatic
#84881E #B5BA29 #D2D749 #DEE27B #EBEDAD

Accessibility & contrast

On white

1.55
#D2D749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D2D749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D749
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D749#FFFFFF#000000##000000
##D2D7491.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE34
Deuteranopia (green-blind)
#E8D153
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d749;
/* rgb */ color: rgb(210, 215, 73);
/* oklch */ color: oklch(85.0% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e383',
    500: '#d2d749',
    950: '#000000',
  },
}
SCSS
$custom: #d2d749;
$custom-light: #e3e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d749",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 73
  },
  "hsl": {
    "h": 62.113,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84975,
    "c": 0.16026,
    "h": 111.3
  },
  "luminance": 0.62784
}

Semantic roles & 50–950 ramp

primary
#D2D749
secondary
#39368E
accent
#41E747
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D749

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

Preview Lab → · Contrast checker → · Palette generator →

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