#D4DB51#D4DB51

#D4DB51 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.1% C 0.158 H 112.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#D4DB51
RGBrgb(212, 219, 81)
HSLhsl(63, 66%, 59%)
HSVhsv(63, 63%, 86%)
CMYKcmyk(3.2%, 0%, 63%, 14.1%)
CIE-LABlab(84.62, -19.65, 64.66)
CIE-LCHlch(84.62, 67.58, 106.90°)
OKLaboklab(86.06% -0.0594 0.1467)
OKLCHoklch(86.06% 0.158 112.1)
XYZxyz(53.9696, 65.2554, 17.5355)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB51 #5851DB
analogous
#DB9D51 #D4DB51 #8FDB51
triadic
#D4DB51 #51D4DB #DB51D4
tetradic
#D4DB51 #51DB9D #5851DB #DB518F
square
#D4DB51 #51DB9D #5851DB #DB518F
split-complementary
#D4DB51 #518FDB #9D51DB
monochromatic
#8D931E #BEC629 #D4DB51 #E1E584 #EDF0B6

Accessibility & contrast

On white

1.49
#D4DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#D4DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB51
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB51#FFFFFF#000000##000000
##D4DB511.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#E2CEBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d4db51;
/* rgb */ color: rgb(212, 219, 81);
/* oklch */ color: oklch(86.1% 0.158 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e688',
    500: '#d4db51',
    950: '#000000',
  },
}
SCSS
$custom: #d4db51;
$custom-light: #e4e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db51",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 63.043,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8606,
    "c": 0.15828,
    "h": 112.1
  },
  "luminance": 0.65254
}

Semantic roles & 50–950 ramp

primary
#D4DB51
secondary
#3D3898
accent
#3FE948
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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