#D2C697#D2C697

#D2C697 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.064 H 95.5°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D2C697
RGBrgb(210, 198, 151)
HSLhsl(48, 40%, 71%)
HSVhsv(48, 28%, 82%)
CMYKcmyk(0%, 5.7%, 28.1%, 17.6%)
CIE-LABlab(79.80, -3.05, 25.12)
CIE-LCHlch(79.80, 25.31, 96.92°)
OKLaboklab(82.48% -0.0061 0.0634)
OKLCHoklch(82.48% 0.064 95.5)
XYZxyz(52.3587, 56.3254, 37.3859)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C697 #97A3D2
analogous
#D2A897 #D2C697 #C0D297
triadic
#D2C697 #97D2C6 #C697D2
tetradic
#D2C697 #97D2A8 #97A3D2 #D297C0
square
#D2C697 #97D2A8 #97A3D2 #D297C0
split-complementary
#D2C697 #97C0D2 #A897D2
monochromatic
#A79348 #C0AF6C #D2C697 #E4DDC2 #F6F3EA

Accessibility & contrast

On white

1.71
#D2C697 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D2C697 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C697
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C697#FFFFFF#000000##000000
##D2C6971.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C394
Deuteranopia (green-blind)
#D3C899
Tritanopia (blue-blind)
#DBBFB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2c697;
/* rgb */ color: rgb(210, 198, 151);
/* oklch */ color: oklch(82.5% 0.064 95.5);
Tailwind
colors: {
  custom: {
    50: '#e0d7b6',
    500: '#d2c697',
    950: '#000000',
  },
}
SCSS
$custom: #d2c697;
$custom-light: #e0d7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c697",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 151
  },
  "hsl": {
    "h": 47.797,
    "s": 39.597,
    "l": 70.784
  },
  "oklch": {
    "l": 0.82481,
    "c": 0.06369,
    "h": 95.5
  },
  "luminance": 0.56324
}

Semantic roles & 50–950 ramp

primary
#D2C697
secondary
#6573A8
accent
#4DB333
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2C697

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

Preview Lab → · Contrast checker → · Palette generator →

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