#D6D178#D6D178

#D6D178 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.112 H 105.7°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D6D178
RGBrgb(214, 209, 120)
HSLhsl(57, 53%, 65%)
HSVhsv(57, 44%, 84%)
CMYKcmyk(0%, 2.3%, 43.9%, 16.1%)
CIE-LABlab(82.52, -10.72, 44.59)
CIE-LCHlch(82.52, 45.86, 103.51°)
OKLaboklab(84.55% -0.0302 0.1073)
OKLCHoklch(84.55% 0.112 105.7)
XYZxyz(53.9233, 61.2545, 26.7484)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D178 #787DD6
analogous
#D6A278 #D6D178 #ACD678
triadic
#D6D178 #78D6D1 #D178D6
tetradic
#D6D178 #78D6A2 #787DD6 #D678AC
square
#D6D178 #78D6A2 #787DD6 #D678AC
split-complementary
#D6D178 #78ACD6 #A278D6
monochromatic
#A29C31 #C8C149 #D6D178 #E4E1A7 #F3F1D6

Accessibility & contrast

On white

1.58
#D6D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D6D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D178
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D178#FFFFFF#000000##000000
##D6D1781.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#E1CF7C
Tritanopia (blue-blind)
#E2C7BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d6d178;
/* rgb */ color: rgb(214, 209, 120);
/* oklch */ color: oklch(84.6% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#e4dea0',
    500: '#d6d178',
    950: '#000000',
  },
}
SCSS
$custom: #d6d178;
$custom-light: #e4dea0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d178",
  "rgb": {
    "r": 214,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 56.809,
    "s": 53.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84554,
    "c": 0.11151,
    "h": 105.7
  },
  "luminance": 0.61253
}

Semantic roles & 50–950 ramp

primary
#D6D178
secondary
#4C51A6
accent
#2DC125
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D178

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

Preview Lab → · Contrast checker → · Palette generator →

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