#D8D072#D8D072

#D8D072 is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.4% C 0.117 H 104.3°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D8D072
RGBrgb(216, 208, 114)
HSLhsl(55, 57%, 65%)
HSVhsv(55, 47%, 85%)
CMYKcmyk(0%, 3.7%, 47.2%, 15.3%)
CIE-LABlab(82.34, -9.98, 47.35)
CIE-LCHlch(82.34, 48.39, 101.91°)
OKLaboklab(84.43% -0.0288 0.113)
OKLCHoklch(84.43% 0.117 104.3)
XYZxyz(53.9134, 60.9272, 24.8365)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D072 #727AD8
analogous
#D89D72 #D8D072 #ADD872
triadic
#D8D072 #72D8D0 #D072D8
tetradic
#D8D072 #72D89D #727AD8 #D872AD
square
#D8D072 #72D89D #727AD8 #D872AD
split-complementary
#D8D072 #72ADD8 #9D72D8
monochromatic
#A3992D #CBC042 #D8D072 #E5E0A2 #F3F0D2

Accessibility & contrast

On white

1.59
#D8D072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D8D072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D072
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D072#FFFFFF#000000##000000
##D8D0721.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA6A
Deuteranopia (green-blind)
#E2CF76
Tritanopia (blue-blind)
#E5C5BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d072;
/* rgb */ color: rgb(216, 208, 114);
/* oklch */ color: oklch(84.4% 0.117 104.3);
Tailwind
colors: {
  custom: {
    50: '#e6de9c',
    500: '#d8d072',
    950: '#000000',
  },
}
SCSS
$custom: #d8d072;
$custom-light: #e6de9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d072",
  "rgb": {
    "r": 216,
    "g": 208,
    "b": 114
  },
  "hsl": {
    "h": 55.294,
    "s": 56.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84429,
    "c": 0.11662,
    "h": 104.3
  },
  "luminance": 0.60926
}

Semantic roles & 50–950 ramp

primary
#D8D072
secondary
#484FA6
accent
#2EC421
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D072

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

Preview Lab → · Contrast checker → · Palette generator →

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