#D2D77D#D2D77D

#D2D77D is a very light, moderate yellow. Relative luminance 0.638; OKLCH L 85.6% C 0.114 H 111.3°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D2D77D
RGBrgb(210, 215, 125)
HSLhsl(63, 53%, 67%)
HSVhsv(63, 42%, 84%)
CMYKcmyk(2.3%, 0%, 41.9%, 15.7%)
CIE-LABlab(83.85, -14.81, 43.73)
CIE-LCHlch(83.85, 46.17, 108.71°)
OKLaboklab(85.56% -0.0413 0.1058)
OKLCHoklch(85.56% 0.114 111.3)
XYZxyz(54.5812, 63.7841, 28.8343)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D77D #827DD7
analogous
#D7AF7D #D2D77D #A5D77D
triadic
#D2D77D #7DD2D7 #D77DD2
tetradic
#D2D77D #7DD7AF #827DD7 #D77DA5
square
#D2D77D #7DD7AF #827DD7 #D77DA5
split-complementary
#D2D77D #7DA5D7 #AF7DD7
monochromatic
#A0A633 #C2C94E #D2D77D #E2E5AC #F2F4DB

Accessibility & contrast

On white

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

On black

13.76
#D2D77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D77D
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D77D#FFFFFF#000000##000000
##D2D77D1.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d77d;
/* rgb */ color: rgb(210, 215, 125);
/* oklch */ color: oklch(85.6% 0.114 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e3a4',
    500: '#d2d77d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d77d;
$custom-light: #e1e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d77d",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 125
  },
  "hsl": {
    "h": 63.333,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85562,
    "c": 0.11353,
    "h": 111.3
  },
  "luminance": 0.63783
}

Semantic roles & 50–950 ramp

primary
#D2D77D
secondary
#534EAA
accent
#25C02E
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D77D

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

Preview Lab → · Contrast checker → · Palette generator →

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