#D2D693#D2D693

#D2D693 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.7% C 0.087 H 111.0°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D2D693
RGBrgb(210, 214, 147)
HSLhsl(64, 45%, 71%)
HSVhsv(64, 31%, 84%)
CMYKcmyk(1.9%, 0%, 31.3%, 16.1%)
CIE-LABlab(83.91, -11.77, 32.72)
CIE-LCHlch(83.91, 34.77, 109.79°)
OKLaboklab(85.72% -0.0312 0.0814)
OKLCHoklch(85.72% 0.087 111)
XYZxyz(55.8916, 63.9021, 36.9881)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D693 #9793D6
analogous
#D6B893 #D2D693 #B0D693
triadic
#D2D693 #93D2D6 #D693D2
tetradic
#D2D693 #93D6B8 #9793D6 #D693B0
square
#D2D693 #93D6B8 #9793D6 #D693B0
split-complementary
#D2D693 #93B0D6 #B893D6
monochromatic
#A7AD42 #C0C567 #D2D693 #E4E7BF #F6F7E9

Accessibility & contrast

On white

1.52
#D2D693 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D2D693 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D693
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D693#FFFFFF#000000##000000
##D2D6931.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D08E
Deuteranopia (green-blind)
#E0D296
Tritanopia (blue-blind)
#DBCEC5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d693;
/* rgb */ color: rgb(210, 214, 147);
/* oklch */ color: oklch(85.7% 0.087 111.0);
Tailwind
colors: {
  custom: {
    50: '#e0e2b3',
    500: '#d2d693',
    950: '#000000',
  },
}
SCSS
$custom: #d2d693;
$custom-light: #e0e2b3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d693",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 147
  },
  "hsl": {
    "h": 63.582,
    "s": 44.966,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85718,
    "c": 0.08716,
    "h": 111
  },
  "luminance": 0.63901
}

Semantic roles & 50–950 ramp

primary
#D2D693
secondary
#6561AC
accent
#2DB836
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D693

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

Preview Lab → · Contrast checker → · Palette generator →

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