#D2D550#D2D550

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

Color values

HEX#D2D550
RGBrgb(210, 213, 80)
HSLhsl(61, 61%, 57%)
HSVhsv(61, 62%, 84%)
CMYKcmyk(1.4%, 0%, 62.4%, 16.5%)
CIE-LABlab(82.84, -17.58, 63.15)
CIE-LCHlch(82.84, 65.55, 105.56°)
OKLaboklab(84.6% -0.0536 0.1434)
OKLCHoklch(84.6% 0.153 110.5)
XYZxyz(51.8221, 61.8706, 16.8002)
Luminance0.6187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D550 #5350D5
analogous
#D59550 #D2D550 #90D550
triadic
#D2D550 #50D2D5 #D550D2
tetradic
#D2D550 #50D595 #5350D5 #D55090
square
#D2D550 #50D595 #5350D5 #D55090
split-complementary
#D2D550 #5090D5 #9550D5
monochromatic
#878A21 #B8BB2D #D2D550 #DFE181 #EBEDB3

Accessibility & contrast

On white

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

On black

13.37
#D2D550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D550
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D550#FFFFFF#000000##000000
##D2D5501.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3F
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d550;
/* rgb */ color: rgb(210, 213, 80);
/* oklch */ color: oklch(84.6% 0.153 110.5);
Tailwind
colors: {
  custom: {
    50: '#e3e187',
    500: '#d2d550',
    950: '#000000',
  },
}
SCSS
$custom: #d2d550;
$custom-light: #e3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d550",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 80
  },
  "hsl": {
    "h": 61.353,
    "s": 61.29,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84605,
    "c": 0.15312,
    "h": 110.5
  },
  "luminance": 0.61869
}

Semantic roles & 50–950 ramp

primary
#D2D550
secondary
#3B3990
accent
#43E447
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D550

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

Preview Lab → · Contrast checker → · Palette generator →

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