#D1D072#D1D072

#D1D072 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.117 H 108.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D1D072
RGBrgb(209, 208, 114)
HSLhsl(59, 51%, 63%)
HSVhsv(59, 45%, 82%)
CMYKcmyk(0%, 0.5%, 45.5%, 18%)
CIE-LABlab(81.77, -12.80, 46.53)
CIE-LCHlch(81.77, 48.26, 105.38°)
OKLaboklab(83.84% -0.0365 0.1113)
OKLCHoklch(83.84% 0.117 108.1)
XYZxyz(51.8887, 59.8832, 24.7416)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D072 #7273D1
analogous
#D1A072 #D1D072 #A2D172
triadic
#D1D072 #72D1D0 #D072D1
tetradic
#D1D072 #72D1A0 #7273D1 #D172A2
square
#D1D072 #72D1A0 #7273D1 #D172A2
split-complementary
#D1D072 #72A2D1 #A072D1
monochromatic
#979631 #C2C144 #D1D072 #E0DFA0 #EFEFCE

Accessibility & contrast

On white

1.62
#D1D072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D1D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D072
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D072#FFFFFF#000000##000000
##D1D0721.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96A
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#DDC6BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d072;
/* rgb */ color: rgb(209, 208, 114);
/* oklch */ color: oklch(83.8% 0.117 108.1);
Tailwind
colors: {
  custom: {
    50: '#e1de9c',
    500: '#d1d072',
    950: '#000000',
  },
}
SCSS
$custom: #d1d072;
$custom-light: #e1de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d072",
  "rgb": {
    "r": 209,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 59.368,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83843,
    "c": 0.11711,
    "h": 108.1
  },
  "luminance": 0.59882
}

Semantic roles & 50–950 ramp

primary
#D1D072
secondary
#4A4B9D
accent
#29BE27
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D1D072

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

Preview Lab → · Contrast checker → · Palette generator →

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