#D2D551#D2D551

#D2D551 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.6% C 0.152 H 110.5°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D2D551
RGBrgb(210, 213, 81)
HSLhsl(61, 61%, 58%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(1.4%, 0%, 62%, 16.5%)
CIE-LABlab(82.85, -17.52, 62.75)
CIE-LCHlch(82.85, 65.15, 105.60°)
OKLaboklab(84.61% -0.0533 0.1427)
OKLCHoklch(84.61% 0.152 110.5)
XYZxyz(51.8593, 61.8855, 16.9963)
Luminance0.6188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D551 #5451D5
analogous
#D59651 #D2D551 #90D551
triadic
#D2D551 #51D2D5 #D551D2
tetradic
#D2D551 #51D596 #5451D5 #D55190
square
#D2D551 #51D596 #5451D5 #D55190
split-complementary
#D2D551 #5190D5 #9651D5
monochromatic
#888A21 #B8BC2D #D2D551 #DFE182 #EBEDB4

Accessibility & contrast

On white

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

On black

13.38
#D2D551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D551
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D551#FFFFFF#000000##000000
##D2D5511.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC40
Deuteranopia (green-blind)
#E6D059
Tritanopia (blue-blind)
#E0C9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d551;
/* rgb */ color: rgb(210, 213, 81);
/* oklch */ color: oklch(84.6% 0.152 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e188',
    500: '#d2d551',
    950: '#000000',
  },
}
SCSS
$custom: #d2d551;
$custom-light: #e3e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d551",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 61.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84613,
    "c": 0.15235,
    "h": 110.5
  },
  "luminance": 0.61884
}

Semantic roles & 50–950 ramp

primary
#D2D551
secondary
#3C3A90
accent
#44E447
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D551

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

Preview Lab → · Contrast checker → · Palette generator →

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