#D2DC5A#D2DC5A

#D2DC5A is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.2% C 0.153 H 113.3°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D2DC5A
RGBrgb(210, 220, 90)
HSLhsl(65, 65%, 61%)
HSVhsv(65, 59%, 86%)
CMYKcmyk(4.5%, 0%, 59.1%, 13.7%)
CIE-LABlab(84.81, -20.35, 61.08)
CIE-LCHlch(84.81, 64.38, 108.42°)
OKLaboklab(86.2% -0.0604 0.1404)
OKLCHoklch(86.2% 0.153 113.3)
XYZxyz(54.0183, 65.6272, 19.4926)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC5A #645ADC
analogous
#DCA55A #D2DC5A #91DC5A
triadic
#D2DC5A #5AD2DC #DC5AD2
tetradic
#D2DC5A #5ADCA5 #645ADC #DC5A91
square
#D2DC5A #5ADCA5 #645ADC #DC5A91
split-complementary
#D2DC5A #5A91DC #A55ADC
monochromatic
#919B21 #C1CD2C #D2DC5A #E0E78C #EEF1BF

Accessibility & contrast

On white

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

On black

14.13
#D2DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC5A
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC5A#FFFFFF#000000##000000
##D2DC5A1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24B
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#DFD0C0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dc5a;
/* rgb */ color: rgb(210, 220, 90);
/* oklch */ color: oklch(86.2% 0.153 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e68e',
    500: '#d2dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc5a;
$custom-light: #e2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc5a",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 64.615,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86199,
    "c": 0.15282,
    "h": 113.3
  },
  "luminance": 0.65626
}

Semantic roles & 50–950 ramp

primary
#D2DC5A
secondary
#433B9F
accent
#19CD27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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