#D1D947#D1D947

#D1D947 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.164 H 112.5°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D1D947
RGBrgb(209, 217, 71)
HSLhsl(63, 66%, 56%)
HSVhsv(63, 67%, 85%)
CMYKcmyk(3.7%, 0%, 67.3%, 14.9%)
CIE-LABlab(83.78, -20.49, 67.62)
CIE-LCHlch(83.78, 70.66, 106.86°)
OKLaboklab(85.31% -0.0626 0.1515)
OKLCHoklch(85.31% 0.164 112.5)
XYZxyz(52.2462, 63.6371, 15.4910)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D947 #4F47D9
analogous
#D99847 #D1D947 #88D947
triadic
#D1D947 #47D1D9 #D947D1
tetradic
#D1D947 #47D998 #4F47D9 #D94788
square
#D1D947 #47D998 #4F47D9 #D94788
split-complementary
#D1D947 #4788D9 #9847D9
monochromatic
#83891C #B4BC27 #D1D947 #DEE37A #EAEEAC

Accessibility & contrast

On white

1.53
#D1D947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D1D947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D947
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D947#FFFFFF#000000##000000
##D1D9471.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d947;
/* rgb */ color: rgb(209, 217, 71);
/* oklch */ color: oklch(85.3% 0.164 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e482',
    500: '#d1d947',
    950: '#000000',
  },
}
SCSS
$custom: #d1d947;
$custom-light: #e2e482;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d947",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 63.288,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8531,
    "c": 0.16394,
    "h": 112.5
  },
  "luminance": 0.63636
}

Semantic roles & 50–950 ramp

primary
#D1D947
secondary
#3A358F
accent
#3FE948
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D947

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

Preview Lab → · Contrast checker → · Palette generator →

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