#D2D349#D2D349

#D2D349 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.156 H 109.7°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D2D349
RGBrgb(210, 211, 73)
HSLhsl(60, 61%, 56%)
HSVhsv(60, 65%, 83%)
CMYKcmyk(0.5%, 0%, 65.4%, 17.3%)
CIE-LABlab(82.26, -17.01, 65.34)
CIE-LCHlch(82.26, 67.51, 104.60°)
OKLaboklab(84.12% -0.0527 0.147)
OKLCHoklch(84.12% 0.156 109.7)
XYZxyz(51.0769, 60.7726, 15.3418)
Luminance0.6077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D349 #4A49D3
analogous
#D38F49 #D2D349 #8DD349
triadic
#D2D349 #49D2D3 #D349D2
tetradic
#D2D349 #49D38F #4A49D3 #D3498D
square
#D2D349 #49D38F #4A49D3 #D3498D
split-complementary
#D2D349 #498DD3 #8F49D3
monochromatic
#81821F #B2B32B #D2D349 #DEDF7A #EAEBAC

Accessibility & contrast

On white

1.60
#D2D349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D2D349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D349
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D349#FFFFFF#000000##000000
##D2D3491.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA36
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d349;
/* rgb */ color: rgb(210, 211, 73);
/* oklch */ color: oklch(84.1% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e083',
    500: '#d2d349',
    950: '#000000',
  },
}
SCSS
$custom: #d2d349;
$custom-light: #e3e083;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d349",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 73
  },
  "hsl": {
    "h": 60.435,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84118,
    "c": 0.15615,
    "h": 109.7
  },
  "luminance": 0.60771
}

Semantic roles & 50–950 ramp

primary
#D2D349
secondary
#383789
accent
#44E445
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D349

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

Preview Lab → · Contrast checker → · Palette generator →

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