#D1D74A#D1D74A

#D1D74A is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.160 H 111.7°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D1D74A
RGBrgb(209, 215, 74)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 66%, 84%)
CMYKcmyk(2.8%, 0%, 65.6%, 15.7%)
CIE-LABlab(83.26, -19.34, 65.95)
CIE-LCHlch(83.26, 68.73, 106.34°)
OKLaboklab(84.9% -0.0591 0.1485)
OKLCHoklch(84.9% 0.16 111.7)
XYZxyz(51.8325, 62.6518, 15.8398)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D74A #504AD7
analogous
#D7974A #D1D74A #8BD74A
triadic
#D1D74A #4AD1D7 #D74AD1
tetradic
#D1D74A #4AD797 #504AD7 #D74A8B
square
#D1D74A #4AD797 #504AD7 #D74A8B
split-complementary
#D1D74A #4A8BD7 #974AD7
monochromatic
#84881E #B4BB29 #D1D74A #DEE27C #EAEDAE

Accessibility & contrast

On white

1.55
#D1D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#D1D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D74A
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D74A#FFFFFF#000000##000000
##D1D74A1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE36
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#DFCABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d74a;
/* rgb */ color: rgb(209, 215, 74);
/* oklch */ color: oklch(84.9% 0.160 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e384',
    500: '#d1d74a',
    950: '#000000',
  },
}
SCSS
$custom: #d1d74a;
$custom-light: #e2e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d74a",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 62.553,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84902,
    "c": 0.15979,
    "h": 111.7
  },
  "luminance": 0.62651
}

Semantic roles & 50–950 ramp

primary
#D1D74A
secondary
#3A378F
accent
#41E748
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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