#D5DB40#D5DB40

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

Color values

HEX#D5DB40
RGBrgb(213, 219, 64)
HSLhsl(62, 68%, 55%)
HSVhsv(62, 71%, 86%)
CMYKcmyk(2.7%, 0%, 70.8%, 14.1%)
CIE-LABlab(84.58, -20.18, 71.04)
CIE-LCHlch(84.58, 73.85, 105.86°)
OKLaboklab(86.01% -0.0626 0.1574)
OKLCHoklch(86.01% 0.169 111.7)
XYZxyz(53.6992, 65.1807, 14.6019)
Luminance0.6518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5DB40 #4640DB
analogous
#DB9440 #D5DB40 #87DB40
triadic
#D5DB40 #40D5DB #DB40D5
tetradic
#D5DB40 #40DB94 #4640DB #DB4087
square
#D5DB40 #40DB94 #4640DB #DB4087
split-complementary
#D5DB40 #4087DB #9440DB
monochromatic
#838719 #B5BB23 #D5DB40 #E0E573 #ECEEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5DB40#FFFFFF#000000##000000
##D5DB401.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)
#ECD124
Deuteranopia (green-blind)
#ECD54C
Tritanopia (blue-blind)
#E3CEBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5db40;
/* rgb */ color: rgb(213, 219, 64);
/* oklch */ color: oklch(86.0% 0.169 111.7);
Tailwind
colors: {
  custom: {
    50: '#e6e57f',
    500: '#d5db40',
    950: '#000000',
  },
}
SCSS
$custom: #d5db40;
$custom-light: #e6e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5db40",
  "rgb": {
    "r": 213,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 62.323,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.86011,
    "c": 0.16944,
    "h": 111.7
  },
  "luminance": 0.65179
}

Semantic roles & 50–950 ramp

primary
#D5DB40
secondary
#35328D
accent
#3DEB43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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