#D2D249#D2D249

#D2D249 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.155 H 109.3°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D2D249
RGBrgb(210, 210, 73)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0%, 65.2%, 17.6%)
CIE-LABlab(81.99, -16.52, 65.06)
CIE-LCHlch(81.99, 67.13, 104.25°)
OKLaboklab(83.9% -0.0513 0.1464)
OKLCHoklch(83.9% 0.155 109.3)
XYZxyz(50.8292, 60.2773, 15.2592)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D249 #4949D2
analogous
#D28D49 #D2D249 #8DD249
triadic
#D2D249 #49D2D2 #D249D2
tetradic
#D2D249 #49D28D #4949D2 #D2498D
square
#D2D249 #49D28D #4949D2 #D2498D
split-complementary
#D2D249 #498DD2 #8D49D2
monochromatic
#818120 #B2B22C #D2D249 #DEDE7A #EAEAAB

Accessibility & contrast

On white

1.61
#D2D249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D2D249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D249
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D249#FFFFFF#000000##000000
##D2D2491.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C936
Deuteranopia (green-blind)
#E4CE52
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d249;
/* rgb */ color: rgb(210, 210, 73);
/* oklch */ color: oklch(83.9% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df83',
    500: '#d2d249',
    950: '#000000',
  },
}
SCSS
$custom: #d2d249;
$custom-light: #e3df83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d249",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83904,
    "c": 0.15514,
    "h": 109.3
  },
  "luminance": 0.60276
}

Semantic roles & 50–950 ramp

primary
#D2D249
secondary
#373788
accent
#44E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D249

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

Preview Lab → · Contrast checker → · Palette generator →

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