#D4D4BA#D4D4BA

#D4D4BA is a very light, muted yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.035 H 107.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D4D4BA
RGBrgb(212, 212, 186)
HSLhsl(60, 23%, 78%)
HSVhsv(60, 12%, 83%)
CMYKcmyk(0%, 0%, 12.3%, 16.9%)
CIE-LABlab(84.29, -4.44, 12.89)
CIE-LCHlch(84.29, 13.63, 109.00°)
OKLaboklab(86.3% -0.0103 0.0334)
OKLCHoklch(86.3% 0.035 107.1)
XYZxyz(59.5569, 64.6296, 55.7821)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D4BA #BABAD4
analogous
#D4C7BA #D4D4BA #C7D4BA
triadic
#D4D4BA #BAD4D4 #D4BAD4
tetradic
#D4D4BA #BAD4C7 #BABAD4 #D4BAC7
square
#D4D4BA #BAD4C7 #BABAD4 #D4BAC7
split-complementary
#D4D4BA #BAC7D4 #C7BAD4
monochromatic
#A5A56F #BDBD94 #D4D4BA #EBEBE0 #F3F3EC

Accessibility & contrast

On white

1.51
#D4D4BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D4D4BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D4BA
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D4BA#FFFFFF#000000##000000
##D4D4BA1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9D2B9
Deuteranopia (green-blind)
#D9D3BB
Tritanopia (blue-blind)
#D8D0CD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d4ba;
/* rgb */ color: rgb(212, 212, 186);
/* oklch */ color: oklch(86.3% 0.035 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1e1ce',
    500: '#d4d4ba',
    950: '#000000',
  },
}
SCSS
$custom: #d4d4ba;
$custom-light: #e1e1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d4ba",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 186
  },
  "hsl": {
    "h": 60,
    "s": 23.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.863,
    "c": 0.03495,
    "h": 107.1
  },
  "luminance": 0.64629
}

Semantic roles & 50–950 ramp

primary
#D4D4BA
secondary
#8989AA
accent
#44A244
background
#FEFEFE
surface
#FCFCFB
border
#D5D5D4
text
#151513
muted
#848483

Preview Lab

Preview with #D4D4BA

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

Preview Lab → · Contrast checker → · Palette generator →

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