#D2D557#D2D557

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

Color values

HEX#D2D557
RGBrgb(210, 213, 87)
HSLhsl(61, 60%, 59%)
HSVhsv(61, 59%, 84%)
CMYKcmyk(1.4%, 0%, 59.2%, 16.5%)
CIE-LABlab(82.90, -17.12, 60.28)
CIE-LCHlch(82.90, 62.67, 105.85°)
OKLaboklab(84.67% -0.0516 0.1383)
OKLCHoklch(84.67% 0.148 110.5)
XYZxyz(52.0943, 61.9795, 18.2340)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D557 #5A57D5
analogous
#D59957 #D2D557 #93D557
triadic
#D2D557 #57D2D5 #D557D2
tetradic
#D2D557 #57D599 #5A57D5 #D55793
square
#D2D557 #57D599 #5A57D5 #D55793
split-complementary
#D2D557 #5793D5 #9957D5
monochromatic
#8C8E24 #BCBF30 #D2D557 #DFE188 #ECEDB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D557#FFFFFF#000000##000000
##D2D5571.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)
#E4CC49
Deuteranopia (green-blind)
#E6D05F
Tritanopia (blue-blind)
#DFC9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d557;
/* rgb */ color: rgb(210, 213, 87);
/* oklch */ color: oklch(84.7% 0.148 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e18b',
    500: '#d2d557',
    950: '#000000',
  },
}
SCSS
$custom: #d2d557;
$custom-light: #e3e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d557",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 61.429,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84669,
    "c": 0.14761,
    "h": 110.5
  },
  "luminance": 0.61978
}

Semantic roles & 50–950 ramp

primary
#D2D557
secondary
#3E3C94
accent
#45E348
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D557

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

Preview Lab → · Contrast checker → · Palette generator →

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