#D2D698#D2D698

#D2D698 is a very light, moderate yellow. Relative luminance 0.641; OKLCH L 85.8% C 0.081 H 111.1°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D2D698
RGBrgb(210, 214, 152)
HSLhsl(64, 43%, 72%)
HSVhsv(64, 29%, 84%)
CMYKcmyk(1.9%, 0%, 29%, 16.1%)
CIE-LABlab(84.00, -11.13, 30.25)
CIE-LCHlch(84.00, 32.24, 110.20°)
OKLaboklab(85.81% -0.0292 0.0757)
OKLCHoklch(85.81% 0.081 111.1)
XYZxyz(56.2925, 64.0625, 39.0995)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D698 #9C98D6
analogous
#D6BB98 #D2D698 #B3D698
triadic
#D2D698 #98D2D6 #D698D2
tetradic
#D2D698 #98D6BB #9C98D6 #D698B3
square
#D2D698 #98D6BB #9C98D6 #D698B3
split-complementary
#D2D698 #98B3D6 #BB98D6
monochromatic
#A7AE45 #BFC56C #D2D698 #E5E7C4 #F5F6E9

Accessibility & contrast

On white

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

On black

13.81
#D2D698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D698
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D698#FFFFFF#000000##000000
##D2D6981.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#E0D29B
Tritanopia (blue-blind)
#DACFC6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d698;
/* rgb */ color: rgb(210, 214, 152);
/* oklch */ color: oklch(85.8% 0.081 111.1);
Tailwind
colors: {
  custom: {
    50: '#e0e2b6',
    500: '#d2d698',
    950: '#000000',
  },
}
SCSS
$custom: #d2d698;
$custom-light: #e0e2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d698",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 63.871,
    "s": 43.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85812,
    "c": 0.08112,
    "h": 111.1
  },
  "luminance": 0.64062
}

Semantic roles & 50–950 ramp

primary
#D2D698
secondary
#6A66AD
accent
#2FB638
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D698

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

Preview Lab → · Contrast checker → · Palette generator →

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