#D2D64F#D2D64F

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

Color values

HEX#D2D64F
RGBrgb(210, 214, 79)
HSLhsl(62, 62%, 57%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(1.9%, 0%, 63.1%, 16.1%)
CIE-LABlab(83.10, -18.14, 63.83)
CIE-LCHlch(83.10, 66.36, 105.86°)
OKLaboklab(84.81% -0.0553 0.1447)
OKLCHoklch(84.81% 0.155 110.9)
XYZxyz(52.0377, 62.3606, 16.6912)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D64F #534FD6
analogous
#D6974F #D2D64F #8ED64F
triadic
#D2D64F #4FD2D6 #D64FD2
tetradic
#D2D64F #4FD697 #534FD6 #D64F8E
square
#D2D64F #4FD697 #534FD6 #D64F8E
split-complementary
#D2D64F #4F8ED6 #974FD6
monochromatic
#878A20 #B8BC2C #D2D64F #DFE281 #EBEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D64F#FFFFFF#000000##000000
##D2D64F1.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)
#E6CD3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#E0C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d64f;
/* rgb */ color: rgb(210, 214, 79);
/* oklch */ color: oklch(84.8% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e287',
    500: '#d2d64f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d64f;
$custom-light: #e3e287;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d64f",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 61.778,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8481,
    "c": 0.15492,
    "h": 110.9
  },
  "luminance": 0.62359
}

Semantic roles & 50–950 ramp

primary
#D2D64F
secondary
#3B3990
accent
#43E547
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D64F

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

Preview Lab → · Contrast checker → · Palette generator →

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