#D1D84A#D1D84A

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

Color values

HEX#D1D84A
RGBrgb(209, 216, 74)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(3.2%, 0%, 65.7%, 15.3%)
CIE-LABlab(83.53, -19.83, 66.23)
CIE-LCHlch(83.53, 69.13, 106.67°)
OKLaboklab(85.12% -0.0605 0.149)
OKLCHoklch(85.12% 0.161 112.1)
XYZxyz(52.0879, 63.1627, 15.9250)
Luminance0.6316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D84A #514AD8
analogous
#D8984A #D1D84A #8AD84A
triadic
#D1D84A #4AD1D8 #D84AD1
tetradic
#D1D84A #4AD898 #514AD8 #D84A8A
square
#D1D84A #4AD898 #514AD8 #D84A8A
split-complementary
#D1D84A #4A8AD8 #984AD8
monochromatic
#858A1E #B5BC29 #D1D84A #DEE37C #EBEEAF

Accessibility & contrast

On white

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

On black

13.63
#D1D84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D84A
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D84A#FFFFFF#000000##000000
##D1D84A1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d84a;
/* rgb */ color: rgb(209, 216, 74);
/* oklch */ color: oklch(85.1% 0.161 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e384',
    500: '#d1d84a',
    950: '#000000',
  },
}
SCSS
$custom: #d1d84a;
$custom-light: #e2e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d84a",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 74
  },
  "hsl": {
    "h": 62.958,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85117,
    "c": 0.16085,
    "h": 112.1
  },
  "luminance": 0.63161
}

Semantic roles & 50–950 ramp

primary
#D1D84A
secondary
#3B3690
accent
#40E849
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D84A

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

Preview Lab → · Contrast checker → · Palette generator →

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