#D2DB51#D2DB51

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

Color values

HEX#D2DB51
RGBrgb(210, 219, 81)
HSLhsl(64, 66%, 59%)
HSVhsv(64, 63%, 86%)
CMYKcmyk(4.1%, 0%, 63%, 14.1%)
CIE-LABlab(84.46, -20.46, 64.45)
CIE-LCHlch(84.46, 67.62, 107.61°)
OKLaboklab(85.9% -0.0616 0.1463)
OKLCHoklch(85.9% 0.159 112.8)
XYZxyz(53.3965, 64.9599, 17.5087)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DB51 #5A51DB
analogous
#DB9F51 #D2DB51 #8DDB51
triadic
#D2DB51 #51D2DB #DB51D2
tetradic
#D2DB51 #51DB9F #5A51DB #DB518D
square
#D2DB51 #51DB9F #5A51DB #DB518D
split-complementary
#D2DB51 #518DDB #9F51DB
monochromatic
#8C931E #BCC629 #D2DB51 #DFE584 #ECF0B6

Accessibility & contrast

On white

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

On black

13.99
#D2DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DB51
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DB51#FFFFFF#000000##000000
##D2DB511.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2db51;
/* rgb */ color: rgb(210, 219, 81);
/* oklch */ color: oklch(85.9% 0.159 112.8);
Tailwind
colors: {
  custom: {
    50: '#e3e688',
    500: '#d2db51',
    950: '#000000',
  },
}
SCSS
$custom: #d2db51;
$custom-light: #e3e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d2db51",
  "rgb": {
    "r": 210,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 63.913,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85901,
    "c": 0.15877,
    "h": 112.8
  },
  "luminance": 0.64959
}

Semantic roles & 50–950 ramp

primary
#D2DB51
secondary
#3E3898
accent
#3FE94A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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