#D6D862#D6D862

#D6D862 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.141 H 109.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D6D862
RGBrgb(214, 216, 98)
HSLhsl(61, 60%, 62%)
HSVhsv(61, 55%, 85%)
CMYKcmyk(0.9%, 0%, 54.6%, 15.3%)
CIE-LABlab(84.12, -16.17, 56.89)
CIE-LCHlch(84.12, 59.15, 105.86°)
OKLaboklab(85.75% -0.048 0.1323)
OKLCHoklch(85.75% 0.141 109.9)
XYZxyz(54.4934, 64.2910, 21.0917)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D862 #6462D8
analogous
#D89F62 #D6D862 #9BD862
triadic
#D6D862 #62D6D8 #D862D6
tetradic
#D6D862 #62D89F #6462D8 #D8629B
square
#D6D862 #62D89F #6462D8 #D8629B
split-complementary
#D6D862 #629BD8 #9F62D8
monochromatic
#989926 #C8CA32 #D6D862 #E3E493 #F0F0C4

Accessibility & contrast

On white

1.52
#D6D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D6D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D862
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D862#FFFFFF#000000##000000
##D6D8621.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#E8D469
Tritanopia (blue-blind)
#E3CCBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d862;
/* rgb */ color: rgb(214, 216, 98);
/* oklch */ color: oklch(85.7% 0.141 109.9);
Tailwind
colors: {
  custom: {
    50: '#e5e392',
    500: '#d6d862',
    950: '#000000',
  },
}
SCSS
$custom: #d6d862;
$custom-light: #e5e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d862",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 61.017,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85748,
    "c": 0.14074,
    "h": 109.9
  },
  "luminance": 0.6429
}

Semantic roles & 50–950 ramp

primary
#D6D862
secondary
#42409E
accent
#1EC821
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D862

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

Preview Lab → · Contrast checker → · Palette generator →

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