#D8D993#D8D993

#D8D993 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.090 H 108.8°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#D8D993
RGBrgb(216, 217, 147)
HSLhsl(61, 48%, 71%)
HSVhsv(61, 32%, 85%)
CMYKcmyk(0.5%, 0%, 32.3%, 14.9%)
CIE-LABlab(85.17, -10.99, 34.45)
CIE-LCHlch(85.17, 36.16, 107.69°)
OKLaboklab(86.83% -0.0291 0.0854)
OKLCHoklch(86.83% 0.09 108.8)
XYZxyz(58.3986, 66.3322, 37.3251)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D993 #9493D9
analogous
#D9B793 #D8D993 #B5D993
triadic
#D8D993 #93D8D9 #D993D8
tetradic
#D8D993 #93D9B7 #9493D9 #D993B5
square
#D8D993 #93D9B7 #9493D9 #D993B5
split-complementary
#D8D993 #93B5D9 #B793D9
monochromatic
#B1B33F #C8C966 #D8D993 #E8E9C0 #F7F7E8

Accessibility & contrast

On white

1.47
#D8D993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#D8D993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D993
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D993#FFFFFF#000000##000000
##D8D9931.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D38E
Deuteranopia (green-blind)
#E5D696
Tritanopia (blue-blind)
#E2D1C7
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d8d993;
/* rgb */ color: rgb(216, 217, 147);
/* oklch */ color: oklch(86.8% 0.090 108.8);
Tailwind
colors: {
  custom: {
    50: '#e5e4b3',
    500: '#d8d993',
    950: '#000000',
  },
}
SCSS
$custom: #d8d993;
$custom-light: #e5e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d993",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 60.857,
    "s": 47.945,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86825,
    "c": 0.09024,
    "h": 108.8
  },
  "luminance": 0.66331
}

Semantic roles & 50–950 ramp

primary
#D8D993
secondary
#6160B0
accent
#2ABB2C
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8D993

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

Preview Lab → · Contrast checker → · Palette generator →

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