#D6D78E#D6D78E

#D6D78E is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.094 H 108.9°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#D6D78E
RGBrgb(214, 215, 142)
HSLhsl(61, 48%, 70%)
HSVhsv(61, 34%, 84%)
CMYKcmyk(0.5%, 0%, 34%, 15.7%)
CIE-LABlab(84.41, -11.35, 35.97)
CIE-LCHlch(84.41, 37.72, 107.51°)
OKLaboklab(86.16% -0.0304 0.0888)
OKLCHoklch(86.16% 0.094 108.9)
XYZxyz(56.9150, 64.8510, 35.1052)
Luminance0.6485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D78E #8F8ED7
analogous
#D7B48E #D6D78E #B1D78E
triadic
#D6D78E #8ED6D7 #D78ED6
tetradic
#D6D78E #8ED7B4 #8F8ED7 #D78EB1
square
#D6D78E #8ED7B4 #8F8ED7 #D78EB1
split-complementary
#D6D78E #8EB1D7 #B48ED7
monochromatic
#ACAD3D #C6C761 #D6D78E #E6E7BB #F7F7E8

Accessibility & contrast

On white

1.50
#D6D78E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#D6D78E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D78E
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D78E#FFFFFF#000000##000000
##D6D78E1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D189
Deuteranopia (green-blind)
#E3D491
Tritanopia (blue-blind)
#E0CEC5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d6d78e;
/* rgb */ color: rgb(214, 215, 142);
/* oklch */ color: oklch(86.2% 0.094 108.9);
Tailwind
colors: {
  custom: {
    50: '#e3e3b0',
    500: '#d6d78e',
    950: '#000000',
  },
}
SCSS
$custom: #d6d78e;
$custom-light: #e3e3b0;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d78e",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 142
  },
  "hsl": {
    "h": 60.822,
    "s": 47.712,
    "l": 70
  },
  "oklch": {
    "l": 0.86158,
    "c": 0.09385,
    "h": 108.9
  },
  "luminance": 0.6485
}

Semantic roles & 50–950 ramp

primary
#D6D78E
secondary
#5D5CAD
accent
#2BBB2D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D6D78E

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

Preview Lab → · Contrast checker → · Palette generator →

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