#D2D993#D2D993

#D2D993 is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.091 H 113.0°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#D2D993
RGBrgb(210, 217, 147)
HSLhsl(66, 48%, 71%)
HSVhsv(66, 32%, 85%)
CMYKcmyk(3.2%, 0%, 32.3%, 14.9%)
CIE-LABlab(84.71, -13.28, 33.76)
CIE-LCHlch(84.71, 36.28, 111.47°)
OKLaboklab(86.35% -0.0355 0.0838)
OKLCHoklch(86.35% 0.091 113)
XYZxyz(56.6578, 65.4346, 37.2435)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D993 #9A93D9
analogous
#D9BD93 #D2D993 #AFD993
triadic
#D2D993 #93D2D9 #D993D2
tetradic
#D2D993 #93D9BD #9A93D9 #D993AF
square
#D2D993 #93D9BD #9A93D9 #D993AF
split-complementary
#D2D993 #93AFD9 #BD93D9
monochromatic
#A7B33F #BFC966 #D2D993 #E5E9C0 #F6F7E8

Accessibility & contrast

On white

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

On black

14.09
#D2D993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D993
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D993#FFFFFF#000000##000000
##D2D9931.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D38E
Deuteranopia (green-blind)
#E3D496
Tritanopia (blue-blind)
#DAD1C7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d993;
/* rgb */ color: rgb(210, 217, 147);
/* oklch */ color: oklch(86.3% 0.091 113.0);
Tailwind
colors: {
  custom: {
    50: '#e0e4b3',
    500: '#d2d993',
    950: '#000000',
  },
}
SCSS
$custom: #d2d993;
$custom-light: #e0e4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d993",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 66,
    "s": 47.945,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86348,
    "c": 0.09104,
    "h": 113
  },
  "luminance": 0.65434
}

Semantic roles & 50–950 ramp

primary
#D2D993
secondary
#6860B0
accent
#2ABB39
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D993

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

Preview Lab → · Contrast checker → · Palette generator →

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