#D2DC5E#D2DC5E

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

Color values

HEX#D2DC5E
RGBrgb(210, 220, 94)
HSLhsl(65, 64%, 62%)
HSVhsv(65, 57%, 86%)
CMYKcmyk(4.5%, 0%, 57.3%, 13.7%)
CIE-LABlab(84.84, -20.05, 59.40)
CIE-LCHlch(84.84, 62.69, 108.66°)
OKLaboklab(86.24% -0.0591 0.1373)
OKLCHoklch(86.24% 0.149 113.3)
XYZxyz(54.1931, 65.6972, 20.4135)
Luminance0.6570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC5E #685EDC
analogous
#DCA75E #D2DC5E #93DC5E
triadic
#D2DC5E #5ED2DC #DC5ED2
tetradic
#D2DC5E #5EDCA7 #685EDC #DC5E93
square
#D2DC5E #5EDCA7 #685EDC #DC5E93
split-complementary
#D2DC5E #5E93DC #A75EDC
monochromatic
#949D22 #C3D02D #D2DC5E #E0E790 #EEF2C3

Accessibility & contrast

On white

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

On black

14.14
#D2DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC5E
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC5E#FFFFFF#000000##000000
##D2DC5E1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD250
Deuteranopia (green-blind)
#EBD566
Tritanopia (blue-blind)
#DFD0C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d2dc5e;
/* rgb */ color: rgb(210, 220, 94);
/* oklch */ color: oklch(86.2% 0.149 113.3);
Tailwind
colors: {
  custom: {
    50: '#e2e690',
    500: '#d2dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc5e;
$custom-light: #e2e690;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc5e",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 64.762,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86239,
    "c": 0.14949,
    "h": 113.3
  },
  "luminance": 0.65696
}

Semantic roles & 50–950 ramp

primary
#D2DC5E
secondary
#453DA1
accent
#19CC28
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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