#D7DB51#D7DB51

#D7DB51 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.3% C 0.158 H 110.9°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#D7DB51
RGBrgb(215, 219, 81)
HSLhsl(62, 66%, 59%)
HSVhsv(62, 63%, 86%)
CMYKcmyk(1.8%, 0%, 63%, 14.1%)
CIE-LABlab(84.85, -18.42, 64.97)
CIE-LCHlch(84.85, 67.54, 105.83°)
OKLaboklab(86.3% -0.0562 0.1473)
OKLCHoklch(86.3% 0.158 110.9)
XYZxyz(54.8427, 65.7056, 17.5765)
Luminance0.6570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB51 #5551DB
analogous
#DB9A51 #D7DB51 #92DB51
triadic
#D7DB51 #51D7DB #DB51D7
tetradic
#D7DB51 #51DB9A #5551DB #DB5192
square
#D7DB51 #51DB9A #5551DB #DB5192
split-complementary
#D7DB51 #5192DB #9A51DB
monochromatic
#90931E #C1C629 #D7DB51 #E3E584 #EEF0B6

Accessibility & contrast

On white

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

On black

14.14
#D7DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB51
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB51#FFFFFF#000000##000000
##D7DB511.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#ECD65A
Tritanopia (blue-blind)
#E5CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db51;
/* rgb */ color: rgb(215, 219, 81);
/* oklch */ color: oklch(86.3% 0.158 110.9);
Tailwind
colors: {
  custom: {
    50: '#e6e688',
    500: '#d7db51',
    950: '#000000',
  },
}
SCSS
$custom: #d7db51;
$custom-light: #e6e688;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db51",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 61.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.86301,
    "c": 0.15764,
    "h": 110.9
  },
  "luminance": 0.65704
}

Semantic roles & 50–950 ramp

primary
#D7DB51
secondary
#3B3898
accent
#3FE944
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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