#D4DB42#D4DB42

#D4DB42 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 85.9% C 0.168 H 112.1°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#D4DB42
RGBrgb(212, 219, 66)
HSLhsl(63, 68%, 56%)
HSVhsv(63, 70%, 86%)
CMYKcmyk(3.2%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.51, -20.49, 70.25)
CIE-LCHlch(84.51, 73.18, 106.26°)
OKLaboklab(85.94% -0.0633 0.1562)
OKLCHoklch(85.94% 0.168 112.1)
XYZxyz(53.4679, 65.0547, 14.8935)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB42 #4942DB
analogous
#DB9542 #D4DB42 #87DB42
triadic
#D4DB42 #42D4DB #DB42D4
tetradic
#D4DB42 #42DB95 #4942DB #DB4287
square
#D4DB42 #42DB95 #4942DB #DB4287
split-complementary
#D4DB42 #4287DB #9542DB
monochromatic
#84891A #B5BC24 #D4DB42 #E0E575 #EBEFA9

Accessibility & contrast

On white

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

On black

14.01
#D4DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB42
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB42#FFFFFF#000000##000000
##D4DB421.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD127
Deuteranopia (green-blind)
#ECD54E
Tritanopia (blue-blind)
#E2CEBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d4db42;
/* rgb */ color: rgb(212, 219, 66);
/* oklch */ color: oklch(85.9% 0.168 112.1);
Tailwind
colors: {
  custom: {
    50: '#e5e680',
    500: '#d4db42',
    950: '#000000',
  },
}
SCSS
$custom: #d4db42;
$custom-light: #e5e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db42",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 62.745,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85944,
    "c": 0.16848,
    "h": 112.1
  },
  "luminance": 0.65053
}

Semantic roles & 50–950 ramp

primary
#D4DB42
secondary
#37338F
accent
#3DEB45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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