#D7DB56#D7DB56

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

Color values

HEX#D7DB56
RGBrgb(215, 219, 86)
HSLhsl(62, 65%, 60%)
HSVhsv(62, 61%, 86%)
CMYKcmyk(1.8%, 0%, 60.7%, 14.1%)
CIE-LABlab(84.89, -18.10, 62.97)
CIE-LCHlch(84.89, 65.52, 106.04°)
OKLaboklab(86.35% -0.0547 0.1438)
OKLCHoklch(86.35% 0.154 110.9)
XYZxyz(55.0371, 65.7833, 18.6005)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB56 #5A56DB
analogous
#DB9D56 #D7DB56 #94DB56
triadic
#D7DB56 #56D7DB #DB56D7
tetradic
#D7DB56 #56DB9D #5A56DB #DB5694
square
#D7DB56 #56DB9D #5A56DB #DB5694
split-complementary
#D7DB56 #5694DB #9D56DB
monochromatic
#939720 #C4C92B #D7DB56 #E3E688 #EFF0BB

Accessibility & contrast

On white

1.48
#D7DB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#D7DB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB56
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB56#FFFFFF#000000##000000
##D7DB561.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7db56;
/* rgb */ color: rgb(215, 219, 86);
/* oklch */ color: oklch(86.3% 0.154 110.9);
Tailwind
colors: {
  custom: {
    50: '#e6e68b',
    500: '#d7db56',
    950: '#000000',
  },
}
SCSS
$custom: #d7db56;
$custom-light: #e6e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db56",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 61.805,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86346,
    "c": 0.15382,
    "h": 110.9
  },
  "luminance": 0.65782
}

Semantic roles & 50–950 ramp

primary
#D7DB56
secondary
#3D3A9B
accent
#40E845
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7DB56

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

Preview Lab → · Contrast checker → · Palette generator →

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