#D2D351#D2D351

#D2D351 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.150 H 109.7°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#D2D351
RGBrgb(210, 211, 81)
HSLhsl(60, 60%, 57%)
HSVhsv(60, 62%, 83%)
CMYKcmyk(0.5%, 0%, 61.6%, 17.3%)
CIE-LABlab(82.32, -16.53, 62.18)
CIE-LCHlch(82.32, 64.34, 104.89°)
OKLaboklab(84.19% -0.0505 0.1415)
OKLCHoklch(84.19% 0.15 109.7)
XYZxyz(51.3594, 60.8856, 16.8296)
Luminance0.6088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D351 #5251D3
analogous
#D39351 #D2D351 #91D351
triadic
#D2D351 #51D2D3 #D351D2
tetradic
#D2D351 #51D393 #5251D3 #D35191
square
#D2D351 #51D393 #5251D3 #D35191
split-complementary
#D2D351 #5191D3 #9351D3
monochromatic
#878722 #B7B82F #D2D351 #DFDF82 #EBECB3

Accessibility & contrast

On white

1.59
#D2D351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#D2D351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D351
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D351#FFFFFF#000000##000000
##D2D3511.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E4CF59
Tritanopia (blue-blind)
#E0C7B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d351;
/* rgb */ color: rgb(210, 211, 81);
/* oklch */ color: oklch(84.2% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#e3e088',
    500: '#d2d351',
    950: '#000000',
  },
}
SCSS
$custom: #d2d351;
$custom-light: #e3e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d351",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 60.462,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84186,
    "c": 0.15026,
    "h": 109.7
  },
  "luminance": 0.60884
}

Semantic roles & 50–950 ramp

primary
#D2D351
secondary
#3B3A8E
accent
#45E346
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D351

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

Preview Lab → · Contrast checker → · Palette generator →

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