#D3D772#D3D772

#D3D772 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.125 H 110.8°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D3D772
RGBrgb(211, 215, 114)
HSLhsl(62, 56%, 65%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.9%, 0%, 47%, 15.7%)
CIE-LABlab(83.79, -15.50, 49.02)
CIE-LCHlch(83.79, 51.41, 107.55°)
OKLaboklab(85.49% -0.0443 0.1168)
OKLCHoklch(85.49% 0.125 110.8)
XYZxyz(54.2027, 63.6657, 25.3497)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D772 #7672D7
analogous
#D7A972 #D3D772 #A1D772
triadic
#D3D772 #72D3D7 #D772D3
tetradic
#D3D772 #72D7A9 #7672D7 #D772A1
square
#D3D772 #72D7A9 #7672D7 #D772A1
split-complementary
#D3D772 #72A1D7 #A972D7
monochromatic
#9CA12E #C4C942 #D3D772 #E2E5A2 #F1F2D1

Accessibility & contrast

On white

1.53
#D3D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D3D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D772
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D772#FFFFFF#000000##000000
##D3D7721.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF69
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#DFCCBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d772;
/* rgb */ color: rgb(211, 215, 114);
/* oklch */ color: oklch(85.5% 0.125 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e39d',
    500: '#d3d772',
    950: '#000000',
  },
}
SCSS
$custom: #d3d772;
$custom-light: #e2e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d772",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 62.376,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85487,
    "c": 0.12488,
    "h": 110.8
  },
  "luminance": 0.63665
}

Semantic roles & 50–950 ramp

primary
#D3D772
secondary
#4C48A5
accent
#22C329
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D3D772

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

Preview Lab → · Contrast checker → · Palette generator →

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