#D2D552#D2D552

#D2D552 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#D2D552
RGBrgb(210, 213, 82)
HSLhsl(61, 61%, 58%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(1.4%, 0%, 61.5%, 16.5%)
CIE-LABlab(82.86, -17.45, 62.34)
CIE-LCHlch(82.86, 64.74, 105.64°)
OKLaboklab(84.62% -0.053 0.142)
OKLCHoklch(84.62% 0.152 110.5)
XYZxyz(51.8971, 61.9006, 17.1952)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D552 #5552D5
analogous
#D59652 #D2D552 #90D552
triadic
#D2D552 #52D2D5 #D552D2
tetradic
#D2D552 #52D596 #5552D5 #D55290
square
#D2D552 #52D596 #5552D5 #D55290
split-complementary
#D2D552 #5290D5 #9652D5
monochromatic
#888B22 #B9BC2E #D2D552 #DFE183 #ECEDB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D552#FFFFFF#000000##000000
##D2D5521.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)
#E5CC42
Deuteranopia (green-blind)
#E6D05A
Tritanopia (blue-blind)
#E0C9BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d552;
/* rgb */ color: rgb(210, 213, 82);
/* oklch */ color: oklch(84.6% 0.152 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e188',
    500: '#d2d552',
    950: '#000000',
  },
}
SCSS
$custom: #d2d552;
$custom-light: #e3e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d552",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 61.374,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84622,
    "c": 0.15159,
    "h": 110.5
  },
  "luminance": 0.61899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D552

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

Preview Lab → · Contrast checker → · Palette generator →

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