#D2DC58#D2DC58

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

Color values

HEX#D2DC58
RGBrgb(210, 220, 88)
HSLhsl(65, 65%, 60%)
HSVhsv(65, 60%, 86%)
CMYKcmyk(4.5%, 0%, 60%, 13.7%)
CIE-LABlab(84.79, -20.49, 61.91)
CIE-LCHlch(84.79, 65.21, 108.31°)
OKLaboklab(86.18% -0.061 0.1419)
OKLCHoklch(86.18% 0.154 113.3)
XYZxyz(53.9343, 65.5937, 19.0503)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC58 #6258DC
analogous
#DCA458 #D2DC58 #90DC58
triadic
#D2DC58 #58D2DC #DC58D2
tetradic
#D2DC58 #58DCA4 #6258DC #DC5890
square
#D2DC58 #58DCA4 #6258DC #DC5890
split-complementary
#D2DC58 #5890DC #A458DC
monochromatic
#909920 #C0CC2B #D2DC58 #E0E78B #EDF1BD

Accessibility & contrast

On white

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

On black

14.12
#D2DC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC58
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC58#FFFFFF#000000##000000
##D2DC581.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2dc58;
/* rgb */ color: rgb(210, 220, 88);
/* oklch */ color: oklch(86.2% 0.154 113.3);
Tailwind
colors: {
  custom: {
    50: '#e3e68c',
    500: '#d2dc58',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc58;
$custom-light: #e3e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc58",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 88
  },
  "hsl": {
    "h": 64.545,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.15443,
    "h": 113.3
  },
  "luminance": 0.65593
}

Semantic roles & 50–950 ramp

primary
#D2DC58
secondary
#423B9E
accent
#18CD26
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DC58

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

Preview Lab → · Contrast checker → · Palette generator →

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