#D2D558#D2D558

#D2D558 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.147 H 110.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D2D558
RGBrgb(210, 213, 88)
HSLhsl(61, 60%, 59%)
HSVhsv(61, 59%, 84%)
CMYKcmyk(1.4%, 0%, 58.7%, 16.5%)
CIE-LABlab(82.91, -17.05, 59.86)
CIE-LCHlch(82.91, 62.24, 105.90°)
OKLaboklab(84.68% -0.0513 0.1375)
OKLCHoklch(84.68% 0.147 110.4)
XYZxyz(52.1355, 61.9960, 18.4507)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D558 #5B58D5
analogous
#D59A58 #D2D558 #94D558
triadic
#D2D558 #58D2D5 #D558D2
tetradic
#D2D558 #58D59A #5B58D5 #D55894
square
#D2D558 #58D59A #5B58D5 #D55894
split-complementary
#D2D558 #5894D5 #9A58D5
monochromatic
#8C8F24 #BCC030 #D2D558 #DFE189 #ECEEBA

Accessibility & contrast

On white

1.57
#D2D558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D2D558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D558
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D558#FFFFFF#000000##000000
##D2D5581.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#DFC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d558;
/* rgb */ color: rgb(210, 213, 88);
/* oklch */ color: oklch(84.7% 0.147 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18c',
    500: '#d2d558',
    950: '#000000',
  },
}
SCSS
$custom: #d2d558;
$custom-light: #e2e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d558",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 61.44,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84679,
    "c": 0.14679,
    "h": 110.4
  },
  "luminance": 0.61995
}

Semantic roles & 50–950 ramp

primary
#D2D558
secondary
#3F3D94
accent
#45E349
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D558

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

Preview Lab → · Contrast checker → · Palette generator →

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