#D2D646#D2D646

#D2D646 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.161 H 111.0°. Best body text is #000000 at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#D2D646
RGBrgb(210, 214, 70)
HSLhsl(62, 64%, 56%)
HSVhsv(62, 67%, 84%)
CMYKcmyk(1.9%, 0%, 67.3%, 16.1%)
CIE-LABlab(83.04, -18.66, 67.28)
CIE-LCHlch(83.04, 69.82, 105.50°)
OKLaboklab(84.74% -0.0577 0.1506)
OKLCHoklch(84.74% 0.161 111)
XYZxyz(51.7320, 62.2383, 15.0813)
Luminance0.6224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D646 #4A46D6
analogous
#D69246 #D2D646 #8AD646
triadic
#D2D646 #46D2D6 #D646D2
tetradic
#D2D646 #46D692 #4A46D6 #D6468A
square
#D2D646 #46D692 #4A46D6 #D6468A
split-complementary
#D2D646 #468AD6 #9246D6
monochromatic
#81841D #B2B628 #D2D646 #DEE178 #EAECAA

Accessibility & contrast

On white

1.56
#D2D646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.45
#D2D646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D646
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D646#FFFFFF#000000##000000
##D2D6461.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD30
Deuteranopia (green-blind)
#E7D150
Tritanopia (blue-blind)
#E0C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d646;
/* rgb */ color: rgb(210, 214, 70);
/* oklch */ color: oklch(84.7% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#e3e282',
    500: '#d2d646',
    950: '#000000',
  },
}
SCSS
$custom: #d2d646;
$custom-light: #e3e282;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d646",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 70
  },
  "hsl": {
    "h": 61.667,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84737,
    "c": 0.16126,
    "h": 111
  },
  "luminance": 0.62237
}

Semantic roles & 50–950 ramp

primary
#D2D646
secondary
#38358B
accent
#41E746
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D646

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

Preview Lab → · Contrast checker → · Palette generator →

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