#D5DB42#D5DB42

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

Color values

HEX#D5DB42
RGBrgb(213, 219, 66)
HSLhsl(62, 68%, 56%)
HSVhsv(62, 70%, 86%)
CMYKcmyk(2.7%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.59, -20.08, 70.35)
CIE-LCHlch(84.59, 73.16, 105.93°)
OKLaboklab(86.03% -0.0622 0.1563)
OKLCHoklch(86.03% 0.168 111.7)
XYZxyz(53.7572, 65.2038, 14.9070)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DB42 #4842DB
analogous
#DB9442 #D5DB42 #88DB42
triadic
#D5DB42 #42D5DB #DB42D5
tetradic
#D5DB42 #42DB94 #4842DB #DB4288
square
#D5DB42 #42DB94 #4842DB #DB4288
split-complementary
#D5DB42 #4288DB #9442DB
monochromatic
#84891A #B6BC24 #D5DB42 #E0E575 #ECEFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DB42#FFFFFF#000000##000000
##D5DB421.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)
#ECD127
Deuteranopia (green-blind)
#ECD54E
Tritanopia (blue-blind)
#E3CEBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5db42;
/* rgb */ color: rgb(213, 219, 66);
/* oklch */ color: oklch(86.0% 0.168 111.7);
Tailwind
colors: {
  custom: {
    50: '#e6e580',
    500: '#d5db42',
    950: '#000000',
  },
}
SCSS
$custom: #d5db42;
$custom-light: #e6e580;
$custom-dark: #000000;
JSON
{
  "hex": "#d5db42",
  "rgb": {
    "r": 213,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 62.353,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86025,
    "c": 0.16824,
    "h": 111.7
  },
  "luminance": 0.65203
}

Semantic roles & 50–950 ramp

primary
#D5DB42
secondary
#36338F
accent
#3DEB44
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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