#D7DCA2#D7DCA2

#D7DCA2 is a very light, moderate yellow. Relative luminance 0.682; OKLCH L 87.7% C 0.076 H 112.0°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#D7DCA2
RGBrgb(215, 220, 162)
HSLhsl(65, 45%, 75%)
HSVhsv(65, 26%, 86%)
CMYKcmyk(2.3%, 0%, 26.4%, 13.7%)
CIE-LABlab(86.13, -10.96, 28.02)
CIE-LCHlch(86.13, 30.08, 111.36°)
OKLaboklab(87.65% -0.0284 0.0705)
OKLCHoklch(87.65% 0.076 112)
XYZxyz(60.1390, 68.2427, 44.1794)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DCA2 #A7A2DC
analogous
#DCC4A2 #D7DCA2 #BADCA2
triadic
#D7DCA2 #A2D7DC #DCA2D7
tetradic
#D7DCA2 #A2DCC4 #A7A2DC #DCA2BA
square
#D7DCA2 #A2DCC4 #A7A2DC #DCA2BA
split-complementary
#D7DCA2 #A2BADC #C4A2DC
monochromatic
#B1BB49 #C4CB76 #D7DCA2 #EAEDCE #F5F7E9

Accessibility & contrast

On white

1.43
#D7DCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#D7DCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DCA2
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DCA2#FFFFFF#000000##000000
##D7DCA21.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D79E
Deuteranopia (green-blind)
#E5D8A4
Tritanopia (blue-blind)
#DED5CD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d7dca2;
/* rgb */ color: rgb(215, 220, 162);
/* oklch */ color: oklch(87.7% 0.076 112.0);
Tailwind
colors: {
  custom: {
    50: '#e4e6be',
    500: '#d7dca2',
    950: '#000000',
  },
}
SCSS
$custom: #d7dca2;
$custom-light: #e4e6be;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dca2",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 65.172,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87652,
    "c": 0.07606,
    "h": 112
  },
  "luminance": 0.68242
}

Semantic roles & 50–950 ramp

primary
#D7DCA2
secondary
#746EB4
accent
#2DB839
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151612
muted
#848482

Preview Lab

Preview with #D7DCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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