#D1D84C#D1D84C

#D1D84C is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.159 H 112.1°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D1D84C
RGBrgb(209, 216, 76)
HSLhsl(63, 64%, 57%)
HSVhsv(63, 65%, 85%)
CMYKcmyk(3.2%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.54, -19.71, 65.46)
CIE-LCHlch(83.54, 68.36, 106.76°)
OKLaboklab(85.13% -0.06 0.1477)
OKLCHoklch(85.13% 0.159 112.1)
XYZxyz(52.1564, 63.1900, 16.2855)
Luminance0.6319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D84C #534CD8
analogous
#D8994C #D1D84C #8BD84C
triadic
#D1D84C #4CD1D8 #D84CD1
tetradic
#D1D84C #4CD899 #534CD8 #D84C8B
square
#D1D84C #4CD899 #534CD8 #D84C8B
split-complementary
#D1D84C #4C8BD8 #994CD8
monochromatic
#868B1E #B6BE29 #D1D84C #DEE37E #EBEEB1

Accessibility & contrast

On white

1.54
#D1D84C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D1D84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D84C
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D84C#FFFFFF#000000##000000
##D1D84C1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE39
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d84c;
/* rgb */ color: rgb(209, 216, 76);
/* oklch */ color: oklch(85.1% 0.159 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e385',
    500: '#d1d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d1d84c;
$custom-light: #e2e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d84c",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 63,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85133,
    "c": 0.15943,
    "h": 112.1
  },
  "luminance": 0.63189
}

Semantic roles & 50–950 ramp

primary
#D1D84C
secondary
#3C3791
accent
#41E749
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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