#D2D642#D2D642

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

Color values

HEX#D2D642
RGBrgb(210, 214, 66)
HSLhsl(62, 64%, 55%)
HSVhsv(62, 69%, 84%)
CMYKcmyk(1.9%, 0%, 69.2%, 16.1%)
CIE-LABlab(83.01, -18.87, 68.73)
CIE-LCHlch(83.01, 71.27, 105.35°)
OKLaboklab(84.71% -0.0586 0.153)
OKLCHoklch(84.71% 0.164 111)
XYZxyz(51.6100, 62.1895, 14.4383)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D642 #4642D6
analogous
#D69042 #D2D642 #88D642
triadic
#D2D642 #42D2D6 #D642D2
tetradic
#D2D642 #42D690 #4642D6 #D64288
square
#D2D642 #42D690 #4642D6 #D64288
split-complementary
#D2D642 #4288D6 #9042D6
monochromatic
#7F821C #B0B427 #D2D642 #DEE174 #EAECA7

Accessibility & contrast

On white

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

On black

13.44
#D2D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D642
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D642#FFFFFF#000000##000000
##D2D6421.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d642;
/* rgb */ color: rgb(210, 214, 66);
/* oklch */ color: oklch(84.7% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#e3e27f',
    500: '#d2d642',
    950: '#000000',
  },
}
SCSS
$custom: #d2d642;
$custom-light: #e3e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d642",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 61.622,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84708,
    "c": 0.16385,
    "h": 111
  },
  "luminance": 0.62188
}

Semantic roles & 50–950 ramp

primary
#D2D642
secondary
#363488
accent
#40E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D642

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

Preview Lab → · Contrast checker → · Palette generator →

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