#D2D072#D2D072

#D2D072 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.117 H 107.6°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D2D072
RGBrgb(210, 208, 114)
HSLhsl(59, 52%, 64%)
HSVhsv(59, 46%, 82%)
CMYKcmyk(0%, 1%, 45.7%, 17.6%)
CIE-LABlab(81.85, -12.39, 46.65)
CIE-LCHlch(81.85, 48.27, 104.88°)
OKLaboklab(83.93% -0.0354 0.1115)
OKLCHoklch(83.93% 0.117 107.6)
XYZxyz(52.1726, 60.0296, 24.7549)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D072 #7274D2
analogous
#D2A072 #D2D072 #A4D272
triadic
#D2D072 #72D2D0 #D072D2
tetradic
#D2D072 #72D2A0 #7274D2 #D272A4
square
#D2D072 #72D2A0 #7274D2 #D272A4
split-complementary
#D2D072 #72A4D2 #A072D2
monochromatic
#999731 #C3C144 #D2D072 #E1DFA0 #F0EFCF

Accessibility & contrast

On white

1.61
#D2D072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D2D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D072
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D072#FFFFFF#000000##000000
##D2D0721.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d072;
/* rgb */ color: rgb(210, 208, 114);
/* oklch */ color: oklch(83.9% 0.117 107.6);
Tailwind
colors: {
  custom: {
    50: '#e1de9c',
    500: '#d2d072',
    950: '#000000',
  },
}
SCSS
$custom: #d2d072;
$custom-light: #e1de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d072",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 58.75,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83925,
    "c": 0.11701,
    "h": 107.6
  },
  "luminance": 0.60028
}

Semantic roles & 50–950 ramp

primary
#D2D072
secondary
#4A4C9E
accent
#2ABF26
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D072

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

Preview Lab → · Contrast checker → · Palette generator →

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