#D7DB4E#D7DB4E

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

Color values

HEX#D7DB4E
RGBrgb(215, 219, 78)
HSLhsl(62, 66%, 58%)
HSVhsv(62, 64%, 86%)
CMYKcmyk(1.8%, 0%, 64.4%, 14.1%)
CIE-LABlab(84.82, -18.60, 66.15)
CIE-LCHlch(84.82, 68.71, 105.71°)
OKLaboklab(86.28% -0.057 0.1493)
OKLCHoklch(86.28% 0.16 110.9)
XYZxyz(54.7327, 65.6615, 16.9970)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB4E #524EDB
analogous
#DB984E #D7DB4E #90DB4E
triadic
#D7DB4E #4ED7DB #DB4ED7
tetradic
#D7DB4E #4EDB98 #524EDB #DB4E90
square
#D7DB4E #4EDB98 #524EDB #DB4E90
split-complementary
#D7DB4E #4E90DB #984EDB
monochromatic
#8E911E #C0C428 #D7DB4E #E2E581 #EEF0B4

Accessibility & contrast

On white

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

On black

14.13
#D7DB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB4E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB4E#FFFFFF#000000##000000
##D7DB4E1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23B
Deuteranopia (green-blind)
#ECD657
Tritanopia (blue-blind)
#E5CEBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7db4e;
/* rgb */ color: rgb(215, 219, 78);
/* oklch */ color: oklch(86.3% 0.160 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e687',
    500: '#d7db4e',
    950: '#000000',
  },
}
SCSS
$custom: #d7db4e;
$custom-light: #e7e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db4e",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 61.702,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.86276,
    "c": 0.15982,
    "h": 110.9
  },
  "luminance": 0.6566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7DB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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