#D1DA3B#D1DA3B

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

Color values

HEX#D1DA3B
RGBrgb(209, 218, 59)
HSLhsl(63, 68%, 54%)
HSVhsv(63, 73%, 85%)
CMYKcmyk(4.1%, 0%, 72.9%, 14.5%)
CIE-LABlab(83.97, -21.57, 72.04)
CIE-LCHlch(83.97, 75.20, 106.67°)
OKLaboklab(85.44% -0.0667 0.1588)
OKLCHoklch(85.44% 0.172 112.8)
XYZxyz(52.1570, 64.0151, 13.7455)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1DA3B #443BDA
analogous
#DA943B #D1DA3B #82DA3B
triadic
#D1DA3B #3BD1DA #DA3BD1
tetradic
#D1DA3B #3BDA94 #443BDA #DA3B82
square
#D1DA3B #3BDA94 #443BDA #DA3B82
split-complementary
#D1DA3B #3B82DA #943BDA
monochromatic
#7C8219 #ADB622 #D1DA3B #DDE46E #E9EDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1DA3B#FFFFFF#000000##000000
##D1DA3B1.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)
#EAD019
Deuteranopia (green-blind)
#EBD348
Tritanopia (blue-blind)
#DFCDBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1da3b;
/* rgb */ color: rgb(209, 218, 59);
/* oklch */ color: oklch(85.4% 0.172 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e57c',
    500: '#d1da3b',
    950: '#000000',
  },
}
SCSS
$custom: #d1da3b;
$custom-light: #e3e57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1da3b",
  "rgb": {
    "r": 209,
    "g": 218,
    "b": 59
  },
  "hsl": {
    "h": 63.396,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85444,
    "c": 0.17229,
    "h": 112.8
  },
  "luminance": 0.64014
}

Semantic roles & 50–950 ramp

primary
#D1DA3B
secondary
#353089
accent
#3DEB47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1DA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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