#D7DB3C#D7DB3C

#D7DB3C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.171 H 111.0°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#D7DB3C
RGBrgb(215, 219, 60)
HSLhsl(62, 69%, 55%)
HSVhsv(62, 73%, 86%)
CMYKcmyk(1.8%, 0%, 72.6%, 14.1%)
CIE-LABlab(84.71, -19.53, 72.57)
CIE-LCHlch(84.71, 75.15, 105.06°)
OKLaboklab(86.15% -0.0613 0.1599)
OKLCHoklch(86.15% 0.171 111)
XYZxyz(54.1733, 65.4378, 14.0512)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB3C #403CDB
analogous
#DB8F3C #D7DB3C #88DB3C
triadic
#D7DB3C #3CD7DB #DB3CD7
tetradic
#D7DB3C #3CDB8F #403CDB #DB3C88
square
#D7DB3C #3CDB8F #403CDB #DB3C88
split-complementary
#D7DB3C #3C88DB #8F3CDB
monochromatic
#818418 #B4B822 #D7DB3C #E2E570 #ECEEA3

Accessibility & contrast

On white

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

On black

14.09
#D7DB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB3C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB3C#FFFFFF#000000##000000
##D7DB3C1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD11B
Deuteranopia (green-blind)
#EDD549
Tritanopia (blue-blind)
#E6CDBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7db3c;
/* rgb */ color: rgb(215, 219, 60);
/* oklch */ color: oklch(86.1% 0.171 111.0);
Tailwind
colors: {
  custom: {
    50: '#e7e57d',
    500: '#d7db3c',
    950: '#000000',
  },
}
SCSS
$custom: #d7db3c;
$custom-light: #e7e57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db3c",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 60
  },
  "hsl": {
    "h": 61.509,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86148,
    "c": 0.17127,
    "h": 111
  },
  "luminance": 0.65436
}

Semantic roles & 50–950 ramp

primary
#D7DB3C
secondary
#33318B
accent
#3CEC41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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