#D7DB54#D7DB54

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

Color values

HEX#D7DB54
RGBrgb(215, 219, 84)
HSLhsl(62, 65%, 59%)
HSVhsv(62, 62%, 86%)
CMYKcmyk(1.8%, 0%, 61.6%, 14.1%)
CIE-LABlab(84.87, -18.23, 63.78)
CIE-LCHlch(84.87, 66.33, 105.95°)
OKLaboklab(86.33% -0.0553 0.1452)
OKLCHoklch(86.33% 0.155 110.9)
XYZxyz(54.9577, 65.7515, 18.1821)
Luminance0.6575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB54 #5854DB
analogous
#DB9C54 #D7DB54 #94DB54
triadic
#D7DB54 #54D7DB #DB54D7
tetradic
#D7DB54 #54DB9C #5854DB #DB5494
square
#D7DB54 #54DB9C #5854DB #DB5494
split-complementary
#D7DB54 #5494DB #9C54DB
monochromatic
#92951F #C3C82A #D7DB54 #E3E687 #EFF0B9

Accessibility & contrast

On white

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

On black

14.15
#D7DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB54
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB54#FFFFFF#000000##000000
##D7DB541.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7db54;
/* rgb */ color: rgb(215, 219, 84);
/* oklch */ color: oklch(86.3% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#e6e68a',
    500: '#d7db54',
    950: '#000000',
  },
}
SCSS
$custom: #d7db54;
$custom-light: #e6e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db54",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 61.778,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86327,
    "c": 0.15538,
    "h": 110.9
  },
  "luminance": 0.6575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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