#D6D640#D6D640

#D6D640 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.164 H 109.4°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D6D640
RGBrgb(214, 214, 64)
HSLhsl(60, 65%, 55%)
HSVhsv(60, 70%, 84%)
CMYKcmyk(0%, 0%, 70.1%, 16.1%)
CIE-LABlab(83.32, -17.31, 69.84)
CIE-LCHlch(83.32, 71.95, 103.92°)
OKLaboklab(85.02% -0.0547 0.1549)
OKLCHoklch(85.02% 0.164 109.4)
XYZxyz(52.7054, 62.7610, 14.1872)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D640 #4040D6
analogous
#D68B40 #D6D640 #8BD640
triadic
#D6D640 #40D6D6 #D640D6
tetradic
#D6D640 #40D68B #4040D6 #D6408B
square
#D6D640 #40D68B #4040D6 #D6408B
split-complementary
#D6D640 #408BD6 #8B40D6
monochromatic
#80801B #B2B226 #D6D640 #E1E172 #ECECA5

Accessibility & contrast

On white

1.55
#D6D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D6D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D640
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D640#FFFFFF#000000##000000
##D6D6401.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD26
Deuteranopia (green-blind)
#E9D24B
Tritanopia (blue-blind)
#E5C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d6d640;
/* rgb */ color: rgb(214, 214, 64);
/* oklch */ color: oklch(85.0% 0.164 109.4);
Tailwind
colors: {
  custom: {
    50: '#e6e27e',
    500: '#d6d640',
    950: '#000000',
  },
}
SCSS
$custom: #d6d640;
$custom-light: #e6e27e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d640",
  "rgb": {
    "r": 214,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85023,
    "c": 0.16425,
    "h": 109.4
  },
  "luminance": 0.62759
}

Semantic roles & 50–950 ramp

primary
#D6D640
secondary
#333387
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D640

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

Preview Lab → · Contrast checker → · Palette generator →

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