#D7D572#D7D572

#D7D572 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.122 H 107.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D7D572
RGBrgb(215, 213, 114)
HSLhsl(59, 56%, 65%)
HSVhsv(59, 47%, 84%)
CMYKcmyk(0%, 0.9%, 47%, 15.7%)
CIE-LABlab(83.57, -12.91, 48.83)
CIE-LCHlch(83.57, 50.51, 104.81°)
OKLaboklab(85.39% -0.0371 0.1163)
OKLCHoklch(85.39% 0.122 107.7)
XYZxyz(54.8570, 63.2518, 25.2354)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D572 #7274D7
analogous
#D7A372 #D7D572 #A7D772
triadic
#D7D572 #72D7D5 #D572D7
tetradic
#D7D572 #72D7A3 #7274D7 #D772A7
square
#D7D572 #72D7A3 #7274D7 #D772A7
split-complementary
#D7D572 #72A7D7 #A372D7
monochromatic
#A19F2E #C9C742 #D7D572 #E5E3A2 #F2F1D1

Accessibility & contrast

On white

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

On black

13.65
#D7D572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D572
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D572#FFFFFF#000000##000000
##D7D5721.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#E4CABE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d572;
/* rgb */ color: rgb(215, 213, 114);
/* oklch */ color: oklch(85.4% 0.122 107.7);
Tailwind
colors: {
  custom: {
    50: '#e5e19d',
    500: '#d7d572',
    950: '#000000',
  },
}
SCSS
$custom: #d7d572;
$custom-light: #e5e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d572",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 114
  },
  "hsl": {
    "h": 58.812,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85391,
    "c": 0.12206,
    "h": 107.7
  },
  "luminance": 0.6325
}

Semantic roles & 50–950 ramp

primary
#D7D572
secondary
#484AA5
accent
#25C322
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D572

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

Preview Lab → · Contrast checker → · Palette generator →

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