#D2D079#D2D079

#D2D079 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.0% C 0.110 H 107.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D2D079
RGBrgb(210, 208, 121)
HSLhsl(59, 50%, 65%)
HSVhsv(59, 42%, 82%)
CMYKcmyk(0%, 1%, 42.4%, 17.6%)
CIE-LABlab(81.94, -11.70, 43.32)
CIE-LCHlch(81.94, 44.87, 105.12°)
OKLaboklab(84.03% -0.0327 0.1046)
OKLCHoklch(84.03% 0.11 107.4)
XYZxyz(52.5863, 60.1951, 26.9341)
Luminance0.6019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D079 #797BD2
analogous
#D2A479 #D2D079 #A7D279
triadic
#D2D079 #79D2D0 #D079D2
tetradic
#D2D079 #79D2A4 #797BD2 #D279A7
square
#D2D079 #79D2A4 #797BD2 #D279A7
split-complementary
#D2D079 #79A7D2 #A479D2
monochromatic
#9C9A34 #C3C04B #D2D079 #E1E0A7 #F1F0D5

Accessibility & contrast

On white

1.61
#D2D079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#D2D079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D079
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D079#FFFFFF#000000##000000
##D2D0791.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA72
Deuteranopia (green-blind)
#DFCD7D
Tritanopia (blue-blind)
#DDC6BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d079;
/* rgb */ color: rgb(210, 208, 121);
/* oklch */ color: oklch(84.0% 0.110 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1dea1',
    500: '#d2d079',
    950: '#000000',
  },
}
SCSS
$custom: #d2d079;
$custom-light: #e1dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d079",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 121
  },
  "hsl": {
    "h": 58.652,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84026,
    "c": 0.1096,
    "h": 107.4
  },
  "luminance": 0.60194
}

Semantic roles & 50–950 ramp

primary
#D2D079
secondary
#4E50A1
accent
#2CBD28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D079

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

Preview Lab → · Contrast checker → · Palette generator →

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