#D7DB42#D7DB42

#D7DB42 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.2% C 0.168 H 110.9°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D7DB42
RGBrgb(215, 219, 66)
HSLhsl(62, 68%, 56%)
HSVhsv(62, 70%, 86%)
CMYKcmyk(1.8%, 0%, 69.9%, 14.1%)
CIE-LABlab(84.74, -19.25, 70.55)
CIE-LCHlch(84.74, 73.13, 105.26°)
OKLaboklab(86.19% -0.06 0.1567)
OKLCHoklch(86.19% 0.168 110.9)
XYZxyz(54.3410, 65.5049, 14.9344)
Luminance0.6550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB42 #4642DB
analogous
#DB9342 #D7DB42 #8ADB42
triadic
#D7DB42 #42D7DB #DB42D7
tetradic
#D7DB42 #42DB93 #4642DB #DB428A
square
#D7DB42 #42DB93 #4642DB #DB428A
split-complementary
#D7DB42 #428ADB #9342DB
monochromatic
#86891A #B8BC24 #D7DB42 #E2E575 #EDEFA9

Accessibility & contrast

On white

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

On black

14.10
#D7DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB42
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB42#FFFFFF#000000##000000
##D7DB421.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD127
Deuteranopia (green-blind)
#EDD64D
Tritanopia (blue-blind)
#E6CEBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db42;
/* rgb */ color: rgb(215, 219, 66);
/* oklch */ color: oklch(86.2% 0.168 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e580',
    500: '#d7db42',
    950: '#000000',
  },
}
SCSS
$custom: #d7db42;
$custom-light: #e7e580;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db42",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 61.569,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.86186,
    "c": 0.16778,
    "h": 110.9
  },
  "luminance": 0.65503
}

Semantic roles & 50–950 ramp

primary
#D7DB42
secondary
#35338F
accent
#3DEB41
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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