#D2D697#D2D697

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

Color values

HEX#D2D697
RGBrgb(210, 214, 151)
HSLhsl(64, 43%, 72%)
HSVhsv(64, 29%, 84%)
CMYKcmyk(1.9%, 0%, 29.4%, 16.1%)
CIE-LABlab(83.98, -11.26, 30.75)
CIE-LCHlch(83.98, 32.74, 110.12°)
OKLaboklab(85.79% -0.0296 0.0768)
OKLCHoklch(85.79% 0.082 111.1)
XYZxyz(56.2109, 64.0298, 38.6700)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D697 #9B97D6
analogous
#D6BB97 #D2D697 #B3D697
triadic
#D2D697 #97D2D6 #D697D2
tetradic
#D2D697 #97D6BB #9B97D6 #D697B3
square
#D2D697 #97D6BB #9B97D6 #D697B3
split-complementary
#D2D697 #97B3D6 #BB97D6
monochromatic
#A7AE45 #BFC56B #D2D697 #E5E7C3 #F6F6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D697#FFFFFF#000000##000000
##D2D6971.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)
#E0D093
Deuteranopia (green-blind)
#E0D29A
Tritanopia (blue-blind)
#DACFC6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d697;
/* rgb */ color: rgb(210, 214, 151);
/* oklch */ color: oklch(85.8% 0.082 111.1);
Tailwind
colors: {
  custom: {
    50: '#e0e2b6',
    500: '#d2d697',
    950: '#000000',
  },
}
SCSS
$custom: #d2d697;
$custom-light: #e0e2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d697",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 151
  },
  "hsl": {
    "h": 63.81,
    "s": 43.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85793,
    "c": 0.08233,
    "h": 111.1
  },
  "luminance": 0.64029
}

Semantic roles & 50–950 ramp

primary
#D2D697
secondary
#6965AD
accent
#2FB738
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D697

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

Preview Lab → · Contrast checker → · Palette generator →

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