#D2D779#D2D779

#D2D779 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.118 H 111.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D2D779
RGBrgb(210, 215, 121)
HSLhsl(63, 54%, 66%)
HSVhsv(63, 44%, 84%)
CMYKcmyk(2.3%, 0%, 43.7%, 15.7%)
CIE-LABlab(83.80, -15.22, 45.63)
CIE-LCHlch(83.80, 48.10, 108.44°)
OKLaboklab(85.5% -0.0428 0.1098)
OKLCHoklch(85.5% 0.118 111.3)
XYZxyz(54.3308, 63.6840, 27.5156)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D779 #7E79D7
analogous
#D7AD79 #D2D779 #A3D779
triadic
#D2D779 #79D2D7 #D779D2
tetradic
#D2D779 #79D7AD #7E79D7 #D779A3
square
#D2D779 #79D7AD #7E79D7 #D779A3
split-complementary
#D2D779 #79A3D7 #AD79D7
monochromatic
#9EA431 #C2C94A #D2D779 #E2E5A8 #F2F3D7

Accessibility & contrast

On white

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

On black

13.74
#D2D779 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D779
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D779#FFFFFF#000000##000000
##D2D7791.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF71
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#DDCDC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d779;
/* rgb */ color: rgb(210, 215, 121);
/* oklch */ color: oklch(85.5% 0.118 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e3a1',
    500: '#d2d779',
    950: '#000000',
  },
}
SCSS
$custom: #d2d779;
$custom-light: #e1e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d779",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 121
  },
  "hsl": {
    "h": 63.191,
    "s": 54.023,
    "l": 65.882
  },
  "oklch": {
    "l": 0.85504,
    "c": 0.1178,
    "h": 111.3
  },
  "luminance": 0.63683
}

Semantic roles & 50–950 ramp

primary
#D2D779
secondary
#514CA8
accent
#24C12C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D779

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

Preview Lab → · Contrast checker → · Palette generator →

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