#D2DC4F#D2DC4F

#D2DC4F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.1% C 0.161 H 113.2°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#D2DC4F
RGBrgb(210, 220, 79)
HSLhsl(64, 67%, 59%)
HSVhsv(64, 64%, 86%)
CMYKcmyk(4.5%, 0%, 64.1%, 13.7%)
CIE-LABlab(84.72, -21.07, 65.52)
CIE-LCHlch(84.72, 68.83, 107.83°)
OKLaboklab(86.1% -0.0635 0.1483)
OKLCHoklch(86.1% 0.161 113.2)
XYZxyz(53.5843, 65.4536, 17.2067)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC4F #594FDC
analogous
#DC9F4F #D2DC4F #8BDC4F
triadic
#D2DC4F #4FD2DC #DC4FD2
tetradic
#D2DC4F #4FDC9F #594FDC #DC4F8B
square
#D2DC4F #4FDC9F #594FDC #DC4F8B
split-complementary
#D2DC4F #4F8BDC #9F4FDC
monochromatic
#8B931D #BBC627 #D2DC4F #DFE682 #ECF0B5

Accessibility & contrast

On white

1.49
#D2DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#D2DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC4F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC4F#FFFFFF#000000##000000
##D2DC4F1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#ECD559
Tritanopia (blue-blind)
#DFCFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc4f;
/* rgb */ color: rgb(210, 220, 79);
/* oklch */ color: oklch(86.1% 0.161 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e687',
    500: '#d2dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc4f;
$custom-light: #e3e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc4f",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 64.255,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86099,
    "c": 0.16132,
    "h": 113.2
  },
  "luminance": 0.65453
}

Semantic roles & 50–950 ramp

primary
#D2DC4F
secondary
#3E3798
accent
#3EEA4A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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