#D2DC47#D2DC47

#D2DC47 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.0% C 0.167 H 113.2°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D2DC47
RGBrgb(210, 220, 71)
HSLhsl(64, 68%, 57%)
HSVhsv(64, 68%, 86%)
CMYKcmyk(4.5%, 0%, 67.7%, 13.7%)
CIE-LABlab(84.66, -21.54, 68.53)
CIE-LCHlch(84.66, 71.84, 107.45°)
OKLaboklab(86.04% -0.0656 0.1534)
OKLCHoklch(86.04% 0.167 113.2)
XYZxyz(53.3104, 65.3441, 15.7644)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC47 #5147DC
analogous
#DC9C47 #D2DC47 #88DC47
triadic
#D2DC47 #47D2DC #DC47D2
tetradic
#D2DC47 #47DC9C #5147DC #DC4788
square
#D2DC47 #47DC9C #5147DC #DC4788
split-complementary
#D2DC47 #4788DC #9C47DC
monochromatic
#868E1B #B7C125 #D2DC47 #DFE67A #EBF0AE

Accessibility & contrast

On white

1.49
#D2DC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D2DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC47
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC47#FFFFFF#000000##000000
##D2DC471.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD230
Deuteranopia (green-blind)
#ECD552
Tritanopia (blue-blind)
#E0CFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc47;
/* rgb */ color: rgb(210, 220, 71);
/* oklch */ color: oklch(86.0% 0.167 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e683',
    500: '#d2dc47',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc47;
$custom-light: #e3e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc47",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 64.027,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86036,
    "c": 0.16684,
    "h": 113.2
  },
  "luminance": 0.65343
}

Semantic roles & 50–950 ramp

primary
#D2DC47
secondary
#3B3493
accent
#3DEB49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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