#D7D993#D7D993

#D7D993 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.090 H 109.5°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#D7D993
RGBrgb(215, 217, 147)
HSLhsl(62, 48%, 71%)
HSVhsv(62, 32%, 85%)
CMYKcmyk(0.9%, 0%, 32.3%, 14.9%)
CIE-LABlab(85.09, -11.37, 34.33)
CIE-LCHlch(85.09, 36.17, 108.33°)
OKLaboklab(86.74% -0.0302 0.0852)
OKLCHoklch(86.74% 0.09 109.5)
XYZxyz(58.1040, 66.1803, 37.3113)
Luminance0.6618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D993 #9593D9
analogous
#D9B893 #D7D993 #B4D993
triadic
#D7D993 #93D7D9 #D993D7
tetradic
#D7D993 #93D9B8 #9593D9 #D993B4
square
#D7D993 #93D9B8 #9593D9 #D993B4
split-complementary
#D7D993 #93B4D9 #B893D9
monochromatic
#AFB33F #C6C966 #D7D993 #E8E9C0 #F7F7E8

Accessibility & contrast

On white

1.48
#D7D993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.24
#D7D993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D993
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D993#FFFFFF#000000##000000
##D7D9931.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d993;
/* rgb */ color: rgb(215, 217, 147);
/* oklch */ color: oklch(86.7% 0.090 109.5);
Tailwind
colors: {
  custom: {
    50: '#e4e4b3',
    500: '#d7d993',
    950: '#000000',
  },
}
SCSS
$custom: #d7d993;
$custom-light: #e4e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d993",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 61.714,
    "s": 47.945,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86744,
    "c": 0.09035,
    "h": 109.5
  },
  "luminance": 0.66179
}

Semantic roles & 50–950 ramp

primary
#D7D993
secondary
#6260B0
accent
#2ABB2E
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D7D993

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

Preview Lab → · Contrast checker → · Palette generator →

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