#D6D371#D6D371

#D6D371 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.121 H 107.2°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D6D371
RGBrgb(214, 211, 113)
HSLhsl(58, 55%, 64%)
HSVhsv(58, 47%, 84%)
CMYKcmyk(0%, 1.4%, 47.2%, 16.1%)
CIE-LABlab(82.95, -12.39, 48.54)
CIE-LCHlch(82.95, 50.10, 104.32°)
OKLaboklab(84.88% -0.0357 0.1156)
OKLCHoklch(84.88% 0.121 107.2)
XYZxyz(54.0077, 62.0783, 24.7569)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D371 #7174D6
analogous
#D6A171 #D6D371 #A7D671
triadic
#D6D371 #71D6D3 #D371D6
tetradic
#D6D371 #71D6A1 #7174D6 #D671A7
square
#D6D371 #71D6A1 #7174D6 #D671A7
split-complementary
#D6D371 #71A7D6 #A171D6
monochromatic
#9F9B2E #C8C442 #D6D371 #E4E2A0 #F1F0D0

Accessibility & contrast

On white

1.57
#D6D371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D6D371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D371
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D371#FFFFFF#000000##000000
##D6D3711.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC68
Deuteranopia (green-blind)
#E3D176
Tritanopia (blue-blind)
#E3C8BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d371;
/* rgb */ color: rgb(214, 211, 113);
/* oklch */ color: oklch(84.9% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#e4e09c',
    500: '#d6d371',
    950: '#000000',
  },
}
SCSS
$custom: #d6d371;
$custom-light: #e4e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d371",
  "rgb": {
    "r": 214,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 58.218,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84875,
    "c": 0.12097,
    "h": 107.2
  },
  "luminance": 0.62077
}

Semantic roles & 50–950 ramp

primary
#D6D371
secondary
#484BA3
accent
#28C323
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D6D371

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

Preview Lab → · Contrast checker → · Palette generator →

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