#D2D588#D2D588

#D2D588 is a very light, moderate yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.099 H 110.2°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D2D588
RGBrgb(210, 213, 136)
HSLhsl(62, 48%, 68%)
HSVhsv(62, 36%, 84%)
CMYKcmyk(1.4%, 0%, 36.2%, 16.5%)
CIE-LABlab(83.48, -12.59, 37.75)
CIE-LCHlch(83.48, 39.80, 108.45°)
OKLaboklab(85.32% -0.0342 0.0927)
OKLCHoklch(85.32% 0.099 110.2)
XYZxyz(54.8170, 63.0686, 32.5735)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D588 #8B88D5
analogous
#D5B188 #D2D588 #ABD588
triadic
#D2D588 #88D2D5 #D588D2
tetradic
#D2D588 #88D5B1 #8B88D5 #D588AB
square
#D2D588 #88D5B1 #8B88D5 #D588AB
split-complementary
#D2D588 #88ABD5 #B188D5
monochromatic
#A3A73B #C1C55B #D2D588 #E3E5B5 #F4F5E2

Accessibility & contrast

On white

1.54
#D2D588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D2D588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D588
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D588#FFFFFF#000000##000000
##D2D5881.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF82
Deuteranopia (green-blind)
#E1D18B
Tritanopia (blue-blind)
#DCCCC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d588;
/* rgb */ color: rgb(210, 213, 136);
/* oklch */ color: oklch(85.3% 0.099 110.2);
Tailwind
colors: {
  custom: {
    50: '#e1e1ab',
    500: '#d2d588',
    950: '#000000',
  },
}
SCSS
$custom: #d2d588;
$custom-light: #e1e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d588",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 136
  },
  "hsl": {
    "h": 62.338,
    "s": 47.826,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85315,
    "c": 0.0988,
    "h": 110.2
  },
  "luminance": 0.63068
}

Semantic roles & 50–950 ramp

primary
#D2D588
secondary
#5A56AB
accent
#2ABB30
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D588

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

Preview Lab → · Contrast checker → · Palette generator →

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