#D6D842#D6D842

#D6D842 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.165 H 110.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D6D842
RGBrgb(214, 216, 66)
HSLhsl(61, 66%, 55%)
HSVhsv(61, 69%, 85%)
CMYKcmyk(0.9%, 0%, 69.4%, 15.3%)
CIE-LABlab(83.86, -18.20, 69.67)
CIE-LCHlch(83.86, 72.00, 104.64°)
OKLaboklab(85.46% -0.057 0.1549)
OKLCHoklch(85.46% 0.165 110.2)
XYZxyz(53.2726, 63.8027, 14.6621)
Luminance0.6380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D842 #4442D8
analogous
#D88F42 #D6D842 #8BD842
triadic
#D6D842 #42D6D8 #D842D6
tetradic
#D6D842 #42D88F #4442D8 #D8428B
square
#D6D842 #42D88F #4442D8 #D8428B
split-complementary
#D6D842 #428BD8 #8F42D8
monochromatic
#83841B #B5B726 #D6D842 #E1E275 #ECEDA7

Accessibility & contrast

On white

1.53
#D6D842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D6D842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D842
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D842#FFFFFF#000000##000000
##D6D8421.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#EAD34D
Tritanopia (blue-blind)
#E5CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d842;
/* rgb */ color: rgb(214, 216, 66);
/* oklch */ color: oklch(85.5% 0.165 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e380',
    500: '#d6d842',
    950: '#000000',
  },
}
SCSS
$custom: #d6d842;
$custom-light: #e6e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d842",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 60.8,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85463,
    "c": 0.165,
    "h": 110.2
  },
  "luminance": 0.63801
}

Semantic roles & 50–950 ramp

primary
#D6D842
secondary
#34338B
accent
#3FE941
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D842

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

Preview Lab → · Contrast checker → · Palette generator →

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