#D2DC4A#D2DC4A

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

Color values

HEX#D2DC4A
RGBrgb(210, 220, 74)
HSLhsl(64, 68%, 58%)
HSVhsv(64, 66%, 86%)
CMYKcmyk(4.5%, 0%, 66.4%, 13.7%)
CIE-LABlab(84.68, -21.37, 67.43)
CIE-LCHlch(84.68, 70.73, 107.59°)
OKLaboklab(86.06% -0.0648 0.1515)
OKLCHoklch(86.06% 0.165 113.2)
XYZxyz(53.4091, 65.3836, 16.2840)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC4A #544ADC
analogous
#DC9D4A #D2DC4A #89DC4A
triadic
#D2DC4A #4AD2DC #DC4AD2
tetradic
#D2DC4A #4ADC9D #544ADC #DC4A89
square
#D2DC4A #4ADC9D #544ADC #DC4A89
split-complementary
#D2DC4A #4A89DC #9D4ADC
monochromatic
#88901C #B8C326 #D2DC4A #DFE67D #EBF0B1

Accessibility & contrast

On white

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

On black

14.08
#D2DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC4A
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC4A#FFFFFF#000000##000000
##D2DC4A1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD235
Deuteranopia (green-blind)
#ECD554
Tritanopia (blue-blind)
#E0CFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc4a;
/* rgb */ color: rgb(210, 220, 74);
/* oklch */ color: oklch(86.1% 0.165 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e684',
    500: '#d2dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc4a;
$custom-light: #e3e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc4a",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 64.11,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86059,
    "c": 0.16483,
    "h": 113.2
  },
  "luminance": 0.65382
}

Semantic roles & 50–950 ramp

primary
#D2DC4A
secondary
#3C3595
accent
#3DEA49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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