#D2D548#D2D548

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

Color values

HEX#D2D548
RGBrgb(210, 213, 72)
HSLhsl(61, 63%, 56%)
HSVhsv(61, 66%, 84%)
CMYKcmyk(1.4%, 0%, 66.2%, 16.5%)
CIE-LABlab(82.79, -18.06, 66.26)
CIE-LCHlch(82.79, 68.68, 105.25°)
OKLaboklab(84.54% -0.0558 0.1488)
OKLCHoklch(84.54% 0.159 110.5)
XYZxyz(51.5439, 61.7594, 15.3352)
Luminance0.6176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D548 #4B48D5
analogous
#D59248 #D2D548 #8BD548
triadic
#D2D548 #48D2D5 #D548D2
tetradic
#D2D548 #48D592 #4B48D5 #D5488B
square
#D2D548 #48D592 #4B48D5 #D5488B
split-complementary
#D2D548 #488BD5 #9248D5
monochromatic
#82841E #B3B62A #D2D548 #DEE07A #EAECAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D548#FFFFFF#000000##000000
##D2D5481.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)
#E5CC33
Deuteranopia (green-blind)
#E6D052
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d548;
/* rgb */ color: rgb(210, 213, 72);
/* oklch */ color: oklch(84.5% 0.159 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e183',
    500: '#d2d548',
    950: '#000000',
  },
}
SCSS
$custom: #d2d548;
$custom-light: #e3e183;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d548",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 61.277,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84538,
    "c": 0.15889,
    "h": 110.5
  },
  "luminance": 0.61758
}

Semantic roles & 50–950 ramp

primary
#D2D548
secondary
#38368B
accent
#42E646
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D548

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

Preview Lab → · Contrast checker → · Palette generator →

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