#D6D782#D6D782

#D6D782 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.107 H 109.0°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D6D782
RGBrgb(214, 215, 130)
HSLhsl(61, 52%, 68%)
HSVhsv(61, 40%, 84%)
CMYKcmyk(0.5%, 0%, 39.5%, 15.7%)
CIE-LABlab(84.23, -12.71, 41.79)
CIE-LCHlch(84.23, 43.68, 106.91°)
OKLaboklab(85.96% -0.0351 0.1016)
OKLCHoklch(85.96% 0.108 109)
XYZxyz(56.0620, 64.5098, 30.6131)
Luminance0.6451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D782 #8382D7
analogous
#D7AE82 #D6D782 #ABD782
triadic
#D6D782 #82D6D7 #D782D6
tetradic
#D6D782 #82D7AE #8382D7 #D782AB
square
#D6D782 #82D7AE #8382D7 #D782AB
split-complementary
#D6D782 #82ABD7 #AE82D7
monochromatic
#A7A936 #C7C854 #D6D782 #E5E6B0 #F4F5DF

Accessibility & contrast

On white

1.51
#D6D782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D6D782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D782
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D782#FFFFFF#000000##000000
##D6D7821.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07B
Deuteranopia (green-blind)
#E5D486
Tritanopia (blue-blind)
#E1CDC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d782;
/* rgb */ color: rgb(214, 215, 130);
/* oklch */ color: oklch(86.0% 0.107 109.0);
Tailwind
colors: {
  custom: {
    50: '#e4e3a7',
    500: '#d6d782',
    950: '#000000',
  },
}
SCSS
$custom: #d6d782;
$custom-light: #e4e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d782",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 60.706,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85961,
    "c": 0.1075,
    "h": 109
  },
  "luminance": 0.64509
}

Semantic roles & 50–950 ramp

primary
#D6D782
secondary
#5251AC
accent
#27BF28
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D782

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

Preview Lab → · Contrast checker → · Palette generator →

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