#D1DA38#D1DA38

#D1DA38 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.4% C 0.174 H 112.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D1DA38
RGBrgb(209, 218, 56)
HSLhsl(63, 69%, 54%)
HSVhsv(63, 74%, 85%)
CMYKcmyk(4.1%, 0%, 74.3%, 14.5%)
CIE-LABlab(83.96, -21.70, 72.99)
CIE-LCHlch(83.96, 76.15, 106.56°)
OKLaboklab(85.43% -0.0673 0.1603)
OKLCHoklch(85.43% 0.174 112.8)
XYZxyz(52.0814, 63.9848, 13.3474)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA38 #4138DA
analogous
#DA9238 #D1DA38 #80DA38
triadic
#D1DA38 #38D1DA #DA38D1
tetradic
#D1DA38 #38DA92 #4138DA #DA3880
square
#D1DA38 #38DA92 #4138DA #DA3880
split-complementary
#D1DA38 #3880DA #9238DA
monochromatic
#7A8018 #ABB321 #D1DA38 #DDE46C #E9ED9F

Accessibility & contrast

On white

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

On black

13.80
#D1DA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1DA38
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1DA38#FFFFFF#000000##000000
##D1DA381.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD011
Deuteranopia (green-blind)
#EBD346
Tritanopia (blue-blind)
#DFCDBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1da38;
/* rgb */ color: rgb(209, 218, 56);
/* oklch */ color: oklch(85.4% 0.174 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e57b',
    500: '#d1da38',
    950: '#000000',
  },
}
SCSS
$custom: #d1da38;
$custom-light: #e3e57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da38",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 56
  },
  "hsl": {
    "h": 63.333,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.85427,
    "c": 0.17391,
    "h": 112.8
  },
  "luminance": 0.63984
}

Semantic roles & 50–950 ramp

primary
#D1DA38
secondary
#342F87
accent
#3CEB46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1DA38

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

Preview Lab → · Contrast checker → · Palette generator →

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