#D0D772#D0D772

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

Color values

HEX#D0D772
RGBrgb(208, 215, 114)
HSLhsl(64, 56%, 65%)
HSVhsv(64, 47%, 84%)
CMYKcmyk(3.3%, 0%, 47%, 15.7%)
CIE-LABlab(83.56, -16.69, 48.69)
CIE-LCHlch(83.56, 51.47, 108.93°)
OKLaboklab(85.25% -0.0475 0.1161)
OKLCHoklch(85.25% 0.125 112.3)
XYZxyz(53.3510, 63.2266, 25.3098)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D772 #7972D7
analogous
#D7AB72 #D0D772 #9ED772
triadic
#D0D772 #72D0D7 #D772D0
tetradic
#D0D772 #72D7AB #7972D7 #D7729E
square
#D0D772 #72D7AB #7972D7 #D7729E
split-complementary
#D0D772 #729ED7 #AB72D7
monochromatic
#99A12E #C0C942 #D0D772 #E0E5A2 #F0F2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0D772#FFFFFF#000000##000000
##D0D7721.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)
#E4CF69
Deuteranopia (green-blind)
#E4D277
Tritanopia (blue-blind)
#DBCDBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d0d772;
/* rgb */ color: rgb(208, 215, 114);
/* oklch */ color: oklch(85.2% 0.125 112.3);
Tailwind
colors: {
  custom: {
    50: '#e0e39d',
    500: '#d0d772',
    950: '#000000',
  },
}
SCSS
$custom: #d0d772;
$custom-light: #e0e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d772",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 64.158,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85247,
    "c": 0.12542,
    "h": 112.3
  },
  "luminance": 0.63226
}

Semantic roles & 50–950 ramp

primary
#D0D772
secondary
#4F48A5
accent
#22C32D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #D0D772

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

Preview Lab → · Contrast checker → · Palette generator →

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