#D4DB40#D4DB40

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

Color values

HEX#D4DB40
RGBrgb(212, 219, 64)
HSLhsl(63, 68%, 55%)
HSVhsv(63, 71%, 86%)
CMYKcmyk(3.2%, 0%, 70.8%, 14.1%)
CIE-LABlab(84.50, -20.59, 70.94)
CIE-LCHlch(84.50, 73.86, 106.18°)
OKLaboklab(85.93% -0.0637 0.1573)
OKLCHoklch(85.93% 0.17 112.1)
XYZxyz(53.4100, 65.0315, 14.5883)
Luminance0.6503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB40 #4740DB
analogous
#DB9540 #D4DB40 #86DB40
triadic
#D4DB40 #40D4DB #DB40D4
tetradic
#D4DB40 #40DB95 #4740DB #DB4086
square
#D4DB40 #40DB95 #4740DB #DB4086
split-complementary
#D4DB40 #4086DB #9540DB
monochromatic
#828719 #B4BB23 #D4DB40 #E0E573 #EBEEA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d4db40;
/* rgb */ color: rgb(212, 219, 64);
/* oklch */ color: oklch(85.9% 0.170 112.1);
Tailwind
colors: {
  custom: {
    50: '#e5e67f',
    500: '#d4db40',
    950: '#000000',
  },
}
SCSS
$custom: #d4db40;
$custom-light: #e5e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db40",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 62.71,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85931,
    "c": 0.16968,
    "h": 112.1
  },
  "luminance": 0.6503
}

Semantic roles & 50–950 ramp

primary
#D4DB40
secondary
#36328D
accent
#3DEB45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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