#D6D478#D6D478

#D6D478 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.2% C 0.115 H 107.5°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D6D478
RGBrgb(214, 212, 120)
HSLhsl(59, 53%, 65%)
HSVhsv(59, 44%, 84%)
CMYKcmyk(0%, 0.9%, 43.9%, 16.1%)
CIE-LABlab(83.31, -12.23, 45.57)
CIE-LCHlch(83.31, 47.18, 105.02°)
OKLaboklab(85.18% -0.0345 0.1095)
OKLCHoklch(85.18% 0.115 107.5)
XYZxyz(54.6662, 62.7405, 26.9961)
Luminance0.6274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D478 #787AD6
analogous
#D6A578 #D6D478 #A9D678
triadic
#D6D478 #78D6D4 #D478D6
tetradic
#D6D478 #78D6A5 #787AD6 #D678A9
square
#D6D478 #78D6A5 #787AD6 #D678A9
split-complementary
#D6D478 #78A9D6 #A578D6
monochromatic
#A2A031 #C8C549 #D6D478 #E4E3A7 #F3F2D6

Accessibility & contrast

On white

1.55
#D6D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D6D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D478
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D478#FFFFFF#000000##000000
##D6D4781.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD70
Deuteranopia (green-blind)
#E3D17C
Tritanopia (blue-blind)
#E2CABE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d6d478;
/* rgb */ color: rgb(214, 212, 120);
/* oklch */ color: oklch(85.2% 0.115 107.5);
Tailwind
colors: {
  custom: {
    50: '#e4e1a0',
    500: '#d6d478',
    950: '#000000',
  },
}
SCSS
$custom: #d6d478;
$custom-light: #e4e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d478",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 58.723,
    "s": 53.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85182,
    "c": 0.11484,
    "h": 107.5
  },
  "luminance": 0.62739
}

Semantic roles & 50–950 ramp

primary
#D6D478
secondary
#4C4EA6
accent
#28C125
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D478

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

Preview Lab → · Contrast checker → · Palette generator →

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