#D4DC47#D4DC47

#D4DC47 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.2% C 0.166 H 112.4°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D4DC47
RGBrgb(212, 220, 71)
HSLhsl(63, 68%, 57%)
HSVhsv(63, 68%, 86%)
CMYKcmyk(3.6%, 0%, 67.7%, 13.7%)
CIE-LABlab(84.81, -20.72, 68.74)
CIE-LCHlch(84.81, 71.79, 106.77°)
OKLaboklab(86.2% -0.0634 0.1538)
OKLCHoklch(86.2% 0.166 112.4)
XYZxyz(53.8835, 65.6396, 15.7913)
Luminance0.6564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC47 #4F47DC
analogous
#DC9947 #D4DC47 #8ADC47
triadic
#D4DC47 #47D4DC #DC47D4
tetradic
#D4DC47 #47DC99 #4F47DC #DC478A
square
#D4DC47 #47DC99 #4F47DC #DC478A
split-complementary
#D4DC47 #478ADC #9947DC
monochromatic
#878E1B #B9C125 #D4DC47 #E0E67A #ECF0AE

Accessibility & contrast

On white

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

On black

14.13
#D4DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC47
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC47#FFFFFF#000000##000000
##D4DC471.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD230
Deuteranopia (green-blind)
#EDD552
Tritanopia (blue-blind)
#E2CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc47;
/* rgb */ color: rgb(212, 220, 71);
/* oklch */ color: oklch(86.2% 0.166 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e683',
    500: '#d4dc47',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc47;
$custom-light: #e5e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc47",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 63.221,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86195,
    "c": 0.16634,
    "h": 112.4
  },
  "luminance": 0.65638
}

Semantic roles & 50–950 ramp

primary
#D4DC47
secondary
#393493
accent
#3DEB46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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