#D4D947#D4D947

#D4D947 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.163 H 111.3°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D4D947
RGBrgb(212, 217, 71)
HSLhsl(62, 66%, 56%)
HSVhsv(62, 67%, 85%)
CMYKcmyk(2.3%, 0%, 67.3%, 14.9%)
CIE-LABlab(84.01, -19.25, 67.93)
CIE-LCHlch(84.01, 70.60, 105.83°)
OKLaboklab(85.55% -0.0593 0.1521)
OKLCHoklch(85.55% 0.163 111.3)
XYZxyz(53.1032, 64.0790, 15.5312)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D947 #4C47D9
analogous
#D99547 #D4D947 #8BD947
triadic
#D4D947 #47D4D9 #D947D4
tetradic
#D4D947 #47D995 #4C47D9 #D9478B
square
#D4D947 #47D995 #4C47D9 #D9478B
split-complementary
#D4D947 #478BD9 #9547D9
monochromatic
#86891C #B7BC27 #D4D947 #E0E37A #ECEEAC

Accessibility & contrast

On white

1.52
#D4D947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#D4D947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D947
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D947#FFFFFF#000000##000000
##D4D9471.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF31
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#E2CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d947;
/* rgb */ color: rgb(212, 217, 71);
/* oklch */ color: oklch(85.6% 0.163 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e482',
    500: '#d4d947',
    950: '#000000',
  },
}
SCSS
$custom: #d4d947;
$custom-light: #e5e482;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d947",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 62.055,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.85551,
    "c": 0.16323,
    "h": 111.3
  },
  "luminance": 0.64078
}

Semantic roles & 50–950 ramp

primary
#D4D947
secondary
#38358F
accent
#3FE945
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D947

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

Preview Lab → · Contrast checker → · Palette generator →

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