#D2D773#D2D773

#D2D773 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.124 H 111.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D2D773
RGBrgb(210, 215, 115)
HSLhsl(63, 56%, 65%)
HSVhsv(63, 47%, 84%)
CMYKcmyk(2.3%, 0%, 46.5%, 15.7%)
CIE-LABlab(83.73, -15.81, 48.44)
CIE-LCHlch(83.73, 50.95, 108.07°)
OKLaboklab(85.42% -0.045 0.1156)
OKLCHoklch(85.42% 0.124 111.3)
XYZxyz(53.9742, 63.5413, 25.6378)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D773 #7873D7
analogous
#D7AA73 #D2D773 #A0D773
triadic
#D2D773 #73D2D7 #D773D2
tetradic
#D2D773 #73D7AA #7873D7 #D773A0
square
#D2D773 #73D7AA #7873D7 #D773A0
split-complementary
#D2D773 #73A0D7 #AA73D7
monochromatic
#9CA12E #C3C943 #D2D773 #E1E5A3 #F1F2D2

Accessibility & contrast

On white

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

On black

13.71
#D2D773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D773
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D773#FFFFFF#000000##000000
##D2D7731.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6A
Deuteranopia (green-blind)
#E5D278
Tritanopia (blue-blind)
#DDCDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d773;
/* rgb */ color: rgb(210, 215, 115);
/* oklch */ color: oklch(85.4% 0.124 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e39d',
    500: '#d2d773',
    950: '#000000',
  },
}
SCSS
$custom: #d2d773;
$custom-light: #e1e39d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d773",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 115
  },
  "hsl": {
    "h": 63,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8542,
    "c": 0.12403,
    "h": 111.3
  },
  "luminance": 0.6354
}

Semantic roles & 50–950 ramp

primary
#D2D773
secondary
#4D49A5
accent
#22C32A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D773

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

Preview Lab → · Contrast checker → · Palette generator →

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