#D1DA42#D1DA42

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

Color values

HEX#D1DA42
RGBrgb(209, 218, 66)
HSLhsl(64, 67%, 56%)
HSVhsv(64, 70%, 85%)
CMYKcmyk(4.1%, 0%, 69.7%, 14.5%)
CIE-LABlab(84.01, -21.24, 69.68)
CIE-LCHlch(84.01, 72.85, 106.95°)
OKLaboklab(85.49% -0.0652 0.155)
OKLCHoklch(85.49% 0.168 112.8)
XYZxyz(52.3508, 64.0926, 14.7666)
Luminance0.6409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA42 #4B42DA
analogous
#DA9742 #D1DA42 #85DA42
triadic
#D1DA42 #42D1DA #DA42D1
tetradic
#D1DA42 #42DA97 #4B42DA #DA4285
square
#D1DA42 #42DA97 #4B42DA #DA4285
split-complementary
#D1DA42 #4285DA #9742DA
monochromatic
#81871A #B1BA24 #D1DA42 #DDE475 #EAEEA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DA42#FFFFFF#000000##000000
##D1DA421.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)
#EAD028
Deuteranopia (green-blind)
#EAD34E
Tritanopia (blue-blind)
#DFCDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1da42;
/* rgb */ color: rgb(209, 218, 66);
/* oklch */ color: oklch(85.5% 0.168 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e580',
    500: '#d1da42',
    950: '#000000',
  },
}
SCSS
$custom: #d1da42;
$custom-light: #e3e580;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da42",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 66
  },
  "hsl": {
    "h": 63.553,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85489,
    "c": 0.16819,
    "h": 112.8
  },
  "luminance": 0.64091
}

Semantic roles & 50–950 ramp

primary
#D1DA42
secondary
#38338D
accent
#3EEA48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1DA42

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

Preview Lab → · Contrast checker → · Palette generator →

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