#D2D848#D2D848

#D2D848 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.162 H 111.7°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D2D848
RGBrgb(210, 216, 72)
HSLhsl(63, 65%, 56%)
HSVhsv(63, 67%, 85%)
CMYKcmyk(2.8%, 0%, 66.7%, 15.3%)
CIE-LABlab(83.59, -19.53, 67.08)
CIE-LCHlch(83.59, 69.87, 106.23°)
OKLaboklab(85.18% -0.0599 0.1505)
OKLCHoklch(85.18% 0.162 111.7)
XYZxyz(52.3055, 63.2825, 15.5891)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D848 #4E48D8
analogous
#D89648 #D2D848 #8AD848
triadic
#D2D848 #48D2D8 #D848D2
tetradic
#D2D848 #48D896 #4E48D8 #D8488A
square
#D2D848 #48D896 #4E48D8 #D8488A
split-complementary
#D2D848 #488AD8 #9648D8
monochromatic
#84891D #B5BB28 #D2D848 #DEE37A #EBEEAD

Accessibility & contrast

On white

1.54
#D2D848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D2D848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D848
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D848#FFFFFF#000000##000000
##D2D8481.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE33
Deuteranopia (green-blind)
#E9D252
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d848;
/* rgb */ color: rgb(210, 216, 72);
/* oklch */ color: oklch(85.2% 0.162 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e383',
    500: '#d2d848',
    950: '#000000',
  },
}
SCSS
$custom: #d2d848;
$custom-light: #e3e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d848",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 62.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85182,
    "c": 0.16198,
    "h": 111.7
  },
  "luminance": 0.63281
}

Semantic roles & 50–950 ramp

primary
#D2D848
secondary
#39368F
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D848

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

Preview Lab → · Contrast checker → · Palette generator →

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