#D2D64E#D2D64E

#D2D64E is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.156 H 110.9°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D2D64E
RGBrgb(210, 214, 78)
HSLhsl(62, 62%, 57%)
HSVhsv(62, 64%, 84%)
CMYKcmyk(1.9%, 0%, 63.6%, 16.1%)
CIE-LABlab(83.10, -18.20, 64.23)
CIE-LCHlch(83.10, 66.76, 105.82°)
OKLaboklab(84.8% -0.0556 0.1454)
OKLCHoklch(84.8% 0.156 110.9)
XYZxyz(52.0016, 62.3461, 16.5009)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D64E #524ED6
analogous
#D6964E #D2D64E #8ED64E
triadic
#D2D64E #4ED2D6 #D64ED2
tetradic
#D2D64E #4ED696 #524ED6 #D64E8E
square
#D2D64E #4ED696 #524ED6 #D64E8E
split-complementary
#D2D64E #4E8ED6 #964ED6
monochromatic
#878A20 #B7BB2B #D2D64E #DFE280 #EBEDB1

Accessibility & contrast

On white

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

On black

13.47
#D2D64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D64E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D64E#FFFFFF#000000##000000
##D2D64E1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3C
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#E0C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d64e;
/* rgb */ color: rgb(210, 214, 78);
/* oklch */ color: oklch(84.8% 0.156 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e286',
    500: '#d2d64e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d64e;
$custom-light: #e3e286;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d64e",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 78
  },
  "hsl": {
    "h": 61.765,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84801,
    "c": 0.15565,
    "h": 110.9
  },
  "luminance": 0.62345
}

Semantic roles & 50–950 ramp

primary
#D2D64E
secondary
#3B3890
accent
#42E547
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D64E

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

Preview Lab → · Contrast checker → · Palette generator →

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