#D2DC4E#D2DC4E

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

Color values

HEX#D2DC4E
RGBrgb(210, 220, 78)
HSLhsl(64, 67%, 58%)
HSVhsv(64, 65%, 86%)
CMYKcmyk(4.5%, 0%, 64.5%, 13.7%)
CIE-LABlab(84.71, -21.14, 65.91)
CIE-LCHlch(84.71, 69.21, 107.78°)
OKLaboklab(86.09% -0.0638 0.149)
OKLCHoklch(86.09% 0.162 113.2)
XYZxyz(53.5481, 65.4392, 17.0165)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC4E #584EDC
analogous
#DC9F4E #D2DC4E #8BDC4E
triadic
#D2DC4E #4ED2DC #DC4ED2
tetradic
#D2DC4E #4EDC9F #584EDC #DC4E8B
square
#D2DC4E #4EDC9F #584EDC #DC4E8B
split-complementary
#D2DC4E #4E8BDC #9F4EDC
monochromatic
#8A931D #BBC627 #D2DC4E #DFE681 #ECF0B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DC4E#FFFFFF#000000##000000
##D2DC4E1.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)
#ECD23B
Deuteranopia (green-blind)
#ECD558
Tritanopia (blue-blind)
#DFCFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc4e;
/* rgb */ color: rgb(210, 220, 78);
/* oklch */ color: oklch(86.1% 0.162 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e687',
    500: '#d2dc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc4e;
$custom-light: #e3e687;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc4e",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 78
  },
  "hsl": {
    "h": 64.225,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86091,
    "c": 0.16204,
    "h": 113.2
  },
  "luminance": 0.65438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2DC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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