#D2D849#D2D849

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

Color values

HEX#D2D849
RGBrgb(210, 216, 73)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(2.8%, 0%, 66.2%, 15.3%)
CIE-LABlab(83.60, -19.48, 66.71)
CIE-LCHlch(83.60, 69.49, 106.28°)
OKLaboklab(85.19% -0.0596 0.1499)
OKLCHoklch(85.19% 0.161 111.7)
XYZxyz(52.3384, 63.2957, 15.7623)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D849 #4F49D8
analogous
#D89649 #D2D849 #8BD849
triadic
#D2D849 #49D2D8 #D849D2
tetradic
#D2D849 #49D896 #4F49D8 #D8498B
square
#D2D849 #49D896 #4F49D8 #D8498B
split-complementary
#D2D849 #498BD8 #9649D8
monochromatic
#85891D #B5BC28 #D2D849 #DEE37B #EBEEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D849#FFFFFF#000000##000000
##D2D8491.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)
#E8CE34
Deuteranopia (green-blind)
#E9D253
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d849;
/* rgb */ color: rgb(210, 216, 73);
/* oklch */ color: oklch(85.2% 0.161 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e383',
    500: '#d2d849',
    950: '#000000',
  },
}
SCSS
$custom: #d2d849;
$custom-light: #e3e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d849",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 73
  },
  "hsl": {
    "h": 62.517,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8519,
    "c": 0.1613,
    "h": 111.7
  },
  "luminance": 0.63294
}

Semantic roles & 50–950 ramp

primary
#D2D849
secondary
#3A368F
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D849

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

Preview Lab → · Contrast checker → · Palette generator →

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