#D2D477#D2D477

#D2D477 is a very light, moderate yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.116 H 109.7°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D2D477
RGBrgb(210, 212, 119)
HSLhsl(61, 52%, 65%)
HSVhsv(61, 44%, 83%)
CMYKcmyk(0.9%, 0%, 43.9%, 16.9%)
CIE-LABlab(82.98, -13.92, 45.59)
CIE-LCHlch(82.98, 47.66, 106.98°)
OKLaboklab(84.84% -0.0393 0.1095)
OKLCHoklch(84.84% 0.116 109.7)
XYZxyz(53.4525, 62.1216, 26.6241)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D477 #7977D4
analogous
#D4A777 #D2D477 #A4D477
triadic
#D2D477 #77D2D4 #D477D2
tetradic
#D2D477 #77D4A7 #7977D4 #D477A4
square
#D2D477 #77D4A7 #7977D4 #D477A4
split-complementary
#D2D477 #77A4D4 #A777D4
monochromatic
#9C9E32 #C3C549 #D2D477 #E1E3A5 #F1F1D4

Accessibility & contrast

On white

1.56
#D2D477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D2D477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D477
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D477#FFFFFF#000000##000000
##D2D4771.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6F
Deuteranopia (green-blind)
#E2D07B
Tritanopia (blue-blind)
#DDCABE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d477;
/* rgb */ color: rgb(210, 212, 119);
/* oklch */ color: oklch(84.8% 0.116 109.7);
Tailwind
colors: {
  custom: {
    50: '#e1e1a0',
    500: '#d2d477',
    950: '#000000',
  },
}
SCSS
$custom: #d2d477;
$custom-light: #e1e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d477",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 61.29,
    "s": 51.955,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8484,
    "c": 0.11636,
    "h": 109.7
  },
  "luminance": 0.62121
}

Semantic roles & 50–950 ramp

primary
#D2D477
secondary
#4E4CA3
accent
#26BF29
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D477

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

Preview Lab → · Contrast checker → · Palette generator →

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