#D9DA3B#D9DA3B

#D9DA3B is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.170 H 109.9°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D9DA3B
RGBrgb(217, 218, 59)
HSLhsl(60, 68%, 54%)
HSVhsv(60, 73%, 85%)
CMYKcmyk(0.5%, 0%, 72.9%, 14.5%)
CIE-LABlab(84.59, -18.26, 72.84)
CIE-LCHlch(84.59, 75.09, 104.07°)
OKLaboklab(86.09% -0.0579 0.1603)
OKLCHoklch(86.09% 0.17 109.9)
XYZxyz(54.4781, 65.2119, 13.8543)
Luminance0.6521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DA3B #3C3BDA
analogous
#DA8B3B #D9DA3B #8ADA3B
triadic
#D9DA3B #3BD9DA #DA3BD9
tetradic
#D9DA3B #3BDA8B #3C3BDA #DA3B8A
square
#D9DA3B #3BDA8B #3C3BDA #DA3B8A
split-complementary
#D9DA3B #3B8ADA #8B3BDA
monochromatic
#818219 #B5B622 #D9DA3B #E3E46E #EDEDA2

Accessibility & contrast

On white

1.50
#D9DA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#D9DA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DA3B
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DA3B#FFFFFF#000000##000000
##D9DA3B1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD119
Deuteranopia (green-blind)
#EDD548
Tritanopia (blue-blind)
#E8CCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9da3b;
/* rgb */ color: rgb(217, 218, 59);
/* oklch */ color: oklch(86.1% 0.170 109.9);
Tailwind
colors: {
  custom: {
    50: '#e9e57c',
    500: '#d9da3b',
    950: '#000000',
  },
}
SCSS
$custom: #d9da3b;
$custom-light: #e9e57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9da3b",
  "rgb": {
    "r": 217,
    "g": 218,
    "b": 59
  },
  "hsl": {
    "h": 60.377,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86091,
    "c": 0.17041,
    "h": 109.9
  },
  "luminance": 0.6521
}

Semantic roles & 50–950 ramp

primary
#D9DA3B
secondary
#313089
accent
#3DEB3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9DA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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