#D7DD72#D7DD72

#D7DD72 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.1% C 0.131 H 111.7°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D7DD72
RGBrgb(215, 221, 114)
HSLhsl(63, 61%, 66%)
HSVhsv(63, 48%, 87%)
CMYKcmyk(2.7%, 0%, 48.4%, 13.3%)
CIE-LABlab(85.69, -16.89, 51.38)
CIE-LCHlch(85.69, 54.08, 108.19°)
OKLaboklab(87.08% -0.0485 0.1219)
OKLCHoklch(87.08% 0.131 111.7)
XYZxyz(56.9191, 67.3760, 25.9228)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DD72 #7872DD
analogous
#DDAD72 #D7DD72 #A2DD72
triadic
#D7DD72 #72D7DD #DD72D7
tetradic
#D7DD72 #72DDAD #7872DD #DD72A2
square
#D7DD72 #72DDAD #7872DD #DD72A2
split-complementary
#D7DD72 #72A2DD #AD72DD
monochromatic
#A4AB29 #C9D141 #D7DD72 #E5E9A3 #F3F5D5

Accessibility & contrast

On white

1.45
#D7DD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#D7DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DD72
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DD72#FFFFFF#000000##000000
##D7DD721.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD568
Deuteranopia (green-blind)
#EBD877
Tritanopia (blue-blind)
#E3D2C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7dd72;
/* rgb */ color: rgb(215, 221, 114);
/* oklch */ color: oklch(87.1% 0.131 111.7);
Tailwind
colors: {
  custom: {
    50: '#e5e79d',
    500: '#d7dd72',
    950: '#000000',
  },
}
SCSS
$custom: #d7dd72;
$custom-light: #e5e79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dd72",
  "rgb": {
    "r": 215,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 63.364,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.87079,
    "c": 0.13116,
    "h": 111.7
  },
  "luminance": 0.67375
}

Semantic roles & 50–950 ramp

primary
#D7DD72
secondary
#4B46AE
accent
#1DC926
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160E
muted
#84847F

Preview Lab

Preview with #D7DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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