#D7DB8A#D7DB8A

#D7DB8A is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.103 H 110.8°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#D7DB8A
RGBrgb(215, 219, 138)
HSLhsl(63, 53%, 70%)
HSVhsv(63, 37%, 86%)
CMYKcmyk(1.8%, 0%, 37%, 14.1%)
CIE-LABlab(85.48, -13.44, 39.39)
CIE-LCHlch(85.48, 41.62, 108.84°)
OKLaboklab(87.01% -0.0366 0.0965)
OKLCHoklch(87.01% 0.103 110.8)
XYZxyz(57.9438, 66.9460, 33.9093)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DB8A #8E8ADB
analogous
#DBB78A #D7DB8A #AEDB8A
triadic
#D7DB8A #8AD7DB #DB8AD7
tetradic
#D7DB8A #8ADBB7 #8E8ADB #DB8AAE
square
#D7DB8A #8ADBB7 #8E8ADB #DB8AAE
split-complementary
#D7DB8A #8AAEDB #B78ADB
monochromatic
#ADB337 #C7CD5B #D7DB8A #E7E9B9 #F7F8E8

Accessibility & contrast

On white

1.46
#D7DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#D7DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DB8A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DB8A#FFFFFF#000000##000000
##D7DB8A1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D484
Deuteranopia (green-blind)
#E7D78E
Tritanopia (blue-blind)
#E1D2C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7db8a;
/* rgb */ color: rgb(215, 219, 138);
/* oklch */ color: oklch(87.0% 0.103 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e6ad',
    500: '#d7db8a',
    950: '#000000',
  },
}
SCSS
$custom: #d7db8a;
$custom-light: #e4e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7db8a",
  "rgb": {
    "r": 215,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 62.963,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.10325,
    "h": 110.8
  },
  "luminance": 0.66945
}

Semantic roles & 50–950 ramp

primary
#D7DB8A
secondary
#5C57B2
accent
#25C02D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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