#D2D647#D2D647

#D2D647 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.7% C 0.161 H 110.9°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D2D647
RGBrgb(210, 214, 71)
HSLhsl(62, 64%, 56%)
HSVhsv(62, 67%, 84%)
CMYKcmyk(1.9%, 0%, 66.8%, 16.1%)
CIE-LABlab(83.05, -18.61, 66.91)
CIE-LCHlch(83.05, 69.45, 105.54°)
OKLaboklab(84.75% -0.0574 0.15)
OKLCHoklch(84.75% 0.161 110.9)
XYZxyz(51.7639, 62.2510, 15.2489)
Luminance0.6225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D647 #4B47D6
analogous
#D69247 #D2D647 #8AD647
triadic
#D2D647 #47D2D6 #D647D2
tetradic
#D2D647 #47D692 #4B47D6 #D6478A
square
#D2D647 #47D692 #4B47D6 #D6478A
split-complementary
#D2D647 #478AD6 #9247D6
monochromatic
#82851E #B3B729 #D2D647 #DEE179 #EAECAB

Accessibility & contrast

On white

1.56
#D2D647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D2D647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D647
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D647#FFFFFF#000000##000000
##D2D6471.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD32
Deuteranopia (green-blind)
#E7D151
Tritanopia (blue-blind)
#E0C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d647;
/* rgb */ color: rgb(210, 214, 71);
/* oklch */ color: oklch(84.7% 0.161 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e282',
    500: '#d2d647',
    950: '#000000',
  },
}
SCSS
$custom: #d2d647;
$custom-light: #e3e282;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d647",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 71
  },
  "hsl": {
    "h": 61.678,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84745,
    "c": 0.16059,
    "h": 110.9
  },
  "luminance": 0.6225
}

Semantic roles & 50–950 ramp

primary
#D2D647
secondary
#38368C
accent
#41E746
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D647

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

Preview Lab → · Contrast checker → · Palette generator →

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