#D2D357#D2D357

#D2D357 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.2% C 0.145 H 109.6°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#D2D357
RGBrgb(210, 211, 87)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 59%, 83%)
CMYKcmyk(0.5%, 0%, 58.8%, 17.3%)
CIE-LABlab(82.37, -16.13, 59.70)
CIE-LCHlch(82.37, 61.84, 105.12°)
OKLaboklab(84.24% -0.0488 0.1371)
OKLCHoklch(84.24% 0.145 109.6)
XYZxyz(51.5944, 60.9796, 18.0674)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D357 #5857D3
analogous
#D39657 #D2D357 #94D357
triadic
#D2D357 #57D2D3 #D357D2
tetradic
#D2D357 #57D396 #5857D3 #D35794
square
#D2D357 #57D396 #5857D3 #D35794
split-complementary
#D2D357 #5794D3 #9657D3
monochromatic
#8A8B24 #BBBC31 #D2D357 #DFE087 #ECECB8

Accessibility & contrast

On white

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

On black

13.20
#D2D357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D357
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D357#FFFFFF#000000##000000
##D2D3571.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB49
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#E0C7B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d357;
/* rgb */ color: rgb(210, 211, 87);
/* oklch */ color: oklch(84.2% 0.145 109.6);
Tailwind
colors: {
  custom: {
    50: '#e2e08b',
    500: '#d2d357',
    950: '#000000',
  },
}
SCSS
$custom: #d2d357;
$custom-light: #e2e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d357",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 87
  },
  "hsl": {
    "h": 60.484,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.84243,
    "c": 0.14548,
    "h": 109.6
  },
  "luminance": 0.60978
}

Semantic roles & 50–950 ramp

primary
#D2D357
secondary
#3E3D91
accent
#46E247
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D357

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

Preview Lab → · Contrast checker → · Palette generator →

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