#D2D2BA#D2D2BA

#D2D2BA is a very light, muted yellow. Relative luminance 0.633; OKLCH L 85.7% C 0.032 H 107.1°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#D2D2BA
RGBrgb(210, 210, 186)
HSLhsl(60, 21%, 78%)
HSVhsv(60, 11%, 82%)
CMYKcmyk(0%, 0%, 11.4%, 17.6%)
CIE-LABlab(83.62, -4.12, 11.91)
CIE-LCHlch(83.62, 12.60, 109.08°)
OKLaboklab(85.73% -0.0095 0.0309)
OKLCHoklch(85.73% 0.032 107.1)
XYZxyz(58.4869, 63.3404, 55.5896)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D2BA #BABAD2
analogous
#D2C6BA #D2D2BA #C6D2BA
triadic
#D2D2BA #BAD2D2 #D2BAD2
tetradic
#D2D2BA #BAD2C6 #BABAD2 #D2BAC6
square
#D2D2BA #BAD2C6 #BABAD2 #D2BAC6
split-complementary
#D2D2BA #BAC6D2 #C6BAD2
monochromatic
#A2A270 #BABA95 #D2D2BA #EAEADF #F3F3EC

Accessibility & contrast

On white

1.54
#D2D2BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#D2D2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D2BA
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D2BA#FFFFFF#000000##000000
##D2D2BA1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6D0B9
Deuteranopia (green-blind)
#D7D1BB
Tritanopia (blue-blind)
#D6CFCB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d2ba;
/* rgb */ color: rgb(210, 210, 186);
/* oklch */ color: oklch(85.7% 0.032 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfdfce',
    500: '#d2d2ba',
    950: '#000000',
  },
}
SCSS
$custom: #d2d2ba;
$custom-light: #dfdfce;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d2ba",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 186
  },
  "hsl": {
    "h": 60,
    "s": 21.053,
    "l": 77.647
  },
  "oklch": {
    "l": 0.85733,
    "c": 0.03235,
    "h": 107.1
  },
  "luminance": 0.6334
}

Semantic roles & 50–950 ramp

primary
#D2D2BA
secondary
#8989A7
accent
#469F46
background
#FEFEFE
surface
#FCFCFB
border
#D5D5D4
text
#151513
muted
#848483

Preview Lab

Preview with #D2D2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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