#D2D679#D2D679

#D2D679 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.117 H 110.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D2D679
RGBrgb(210, 214, 121)
HSLhsl(63, 53%, 66%)
HSVhsv(63, 43%, 84%)
CMYKcmyk(1.9%, 0%, 43.5%, 16.1%)
CIE-LABlab(83.54, -14.72, 45.30)
CIE-LCHlch(83.54, 47.63, 108.00°)
OKLaboklab(85.29% -0.0414 0.109)
OKLCHoklch(85.29% 0.117 110.8)
XYZxyz(54.0769, 63.1763, 27.4310)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D679 #7D79D6
analogous
#D6AB79 #D2D679 #A3D679
triadic
#D2D679 #79D2D6 #D679D2
tetradic
#D2D679 #79D6AB #7D79D6 #D679A3
square
#D2D679 #79D6AB #7D79D6 #D679A3
split-complementary
#D2D679 #79A3D6 #AB79D6
monochromatic
#9EA332 #C2C84A #D2D679 #E2E4A8 #F1F3D7

Accessibility & contrast

On white

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

On black

13.64
#D2D679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D679
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D679#FFFFFF#000000##000000
##D2D6791.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF71
Deuteranopia (green-blind)
#E3D27D
Tritanopia (blue-blind)
#DDCCC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d679;
/* rgb */ color: rgb(210, 214, 121);
/* oklch */ color: oklch(85.3% 0.117 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e2a1',
    500: '#d2d679',
    950: '#000000',
  },
}
SCSS
$custom: #d2d679;
$custom-light: #e1e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d679",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 121
  },
  "hsl": {
    "h": 62.581,
    "s": 53.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.11661,
    "h": 110.8
  },
  "luminance": 0.63175
}

Semantic roles & 50–950 ramp

primary
#D2D679
secondary
#504CA7
accent
#25C12C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D679

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

Preview Lab → · Contrast checker → · Palette generator →

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