#D2C778#D2C778

#D2C778 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.101 H 101.4°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D2C778
RGBrgb(210, 199, 120)
HSLhsl(53, 50%, 65%)
HSVhsv(53, 43%, 82%)
CMYKcmyk(0%, 5.2%, 42.9%, 17.6%)
CIE-LABlab(79.56, -7.22, 40.84)
CIE-LCHlch(79.56, 41.47, 100.02°)
OKLaboklab(82.13% -0.0199 0.0989)
OKLCHoklch(82.13% 0.101 101.4)
XYZxyz(50.3930, 55.9061, 25.9021)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C778 #7883D2
analogous
#D29A78 #D2C778 #B0D278
triadic
#D2C778 #78D2C7 #C778D2
tetradic
#D2C778 #78D29A #7883D2 #D278B0
square
#D2C778 #78D29A #7883D2 #D278B0
split-complementary
#D2C778 #78B0D2 #9A78D2
monochromatic
#9C8F34 #C3B44A #D2C778 #E1DAA6 #F1EDD4

Accessibility & contrast

On white

1.72
#D2C778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D2C778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C778
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C778#FFFFFF#000000##000000
##D2C7781.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C272
Deuteranopia (green-blind)
#D8C77B
Tritanopia (blue-blind)
#DEBDB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c778;
/* rgb */ color: rgb(210, 199, 120);
/* oklch */ color: oklch(82.1% 0.101 101.4);
Tailwind
colors: {
  custom: {
    50: '#e1d7a0',
    500: '#d2c778',
    950: '#000000',
  },
}
SCSS
$custom: #d2c778;
$custom-light: #e1d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c778",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 120
  },
  "hsl": {
    "h": 52.667,
    "s": 50,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82129,
    "c": 0.10093,
    "h": 101.4
  },
  "luminance": 0.55905
}

Semantic roles & 50–950 ramp

primary
#D2C778
secondary
#4D58A1
accent
#3ABD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C778

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

Preview Lab → · Contrast checker → · Palette generator →

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