#D2D641#D2D641

#D2D641 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#D2D641
RGBrgb(210, 214, 65)
HSLhsl(62, 65%, 55%)
HSVhsv(62, 70%, 84%)
CMYKcmyk(1.9%, 0%, 69.6%, 16.1%)
CIE-LABlab(83.01, -18.92, 69.08)
CIE-LCHlch(83.01, 71.62, 105.32°)
OKLaboklab(84.7% -0.0589 0.1536)
OKLCHoklch(84.7% 0.164 111)
XYZxyz(51.5807, 62.1778, 14.2844)
Luminance0.6218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D641 #4541D6
analogous
#D69041 #D2D641 #87D641
triadic
#D2D641 #41D2D6 #D641D2
tetradic
#D2D641 #41D690 #4541D6 #D64187
square
#D2D641 #41D690 #4541D6 #D64187
split-complementary
#D2D641 #4187D6 #9041D6
monochromatic
#7E811C #AFB327 #D2D641 #DEE173 #EAECA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D641#FFFFFF#000000##000000
##D2D6411.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)
#E6CD28
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#E0C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d641;
/* rgb */ color: rgb(210, 214, 65);
/* oklch */ color: oklch(84.7% 0.164 111.0);
Tailwind
colors: {
  custom: {
    50: '#e3e27f',
    500: '#d2d641',
    950: '#000000',
  },
}
SCSS
$custom: #d2d641;
$custom-light: #e3e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d641",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 65
  },
  "hsl": {
    "h": 61.611,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84701,
    "c": 0.16447,
    "h": 111
  },
  "luminance": 0.62176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D641

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

Preview Lab → · Contrast checker → · Palette generator →

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