#D7DB4A#D7DB4A

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

Color values

HEX#D7DB4A
RGBrgb(215, 219, 74)
HSLhsl(62, 67%, 57%)
HSVhsv(62, 66%, 86%)
CMYKcmyk(1.8%, 0%, 66.2%, 14.1%)
CIE-LABlab(84.80, -18.83, 67.67)
CIE-LCHlch(84.80, 70.24, 105.55°)
OKLaboklab(86.24% -0.058 0.1519)
OKLCHoklch(86.24% 0.163 110.9)
XYZxyz(54.5936, 65.6059, 16.2646)
Luminance0.6561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB4A #4E4ADB
analogous
#DB964A #D7DB4A #8FDB4A
triadic
#D7DB4A #4AD7DB #DB4AD7
tetradic
#D7DB4A #4ADB96 #4E4ADB #DB4A8F
square
#D7DB4A #4ADB96 #4E4ADB #DB4A8F
split-complementary
#D7DB4A #4A8FDB #964ADB
monochromatic
#8B8E1C #BDC126 #D7DB4A #E2E57D #EEEFB0

Accessibility & contrast

On white

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

On black

14.12
#D7DB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB4A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB4A#FFFFFF#000000##000000
##D7DB4A1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7db4a;
/* rgb */ color: rgb(215, 219, 74);
/* oklch */ color: oklch(86.2% 0.163 110.9);
Tailwind
colors: {
  custom: {
    50: '#e7e584',
    500: '#d7db4a',
    950: '#000000',
  },
}
SCSS
$custom: #d7db4a;
$custom-light: #e7e584;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db4a",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 61.655,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86244,
    "c": 0.16262,
    "h": 110.9
  },
  "luminance": 0.65605
}

Semantic roles & 50–950 ramp

primary
#D7DB4A
secondary
#383694
accent
#3EEA43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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