#D2D549#D2D549

#D2D549 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.5% C 0.158 H 110.5°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D2D549
RGBrgb(210, 213, 73)
HSLhsl(61, 63%, 56%)
HSVhsv(61, 66%, 84%)
CMYKcmyk(1.4%, 0%, 65.7%, 16.5%)
CIE-LABlab(82.79, -18.00, 65.88)
CIE-LCHlch(82.79, 68.30, 105.28°)
OKLaboklab(84.55% -0.0555 0.1481)
OKLCHoklch(84.55% 0.158 110.5)
XYZxyz(51.5768, 61.7725, 15.5084)
Luminance0.6177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D549 #4C49D5
analogous
#D59249 #D2D549 #8CD549
triadic
#D2D549 #49D2D5 #D549D2
tetradic
#D2D549 #49D592 #4C49D5 #D5498C
square
#D2D549 #49D592 #4C49D5 #D5498C
split-complementary
#D2D549 #498CD5 #9249D5
monochromatic
#83851F #B4B72A #D2D549 #DEE07B #EBECAC

Accessibility & contrast

On white

1.57
#D2D549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D2D549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D549
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D549#FFFFFF#000000##000000
##D2D5491.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC35
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d549;
/* rgb */ color: rgb(210, 213, 73);
/* oklch */ color: oklch(84.5% 0.158 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e183',
    500: '#d2d549',
    950: '#000000',
  },
}
SCSS
$custom: #d2d549;
$custom-light: #e3e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d549",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 73
  },
  "hsl": {
    "h": 61.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.84546,
    "c": 0.1582,
    "h": 110.5
  },
  "luminance": 0.61771
}

Semantic roles & 50–950 ramp

primary
#D2D549
secondary
#38378C
accent
#42E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D549

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

Preview Lab → · Contrast checker → · Palette generator →

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