#D2D352#D2D352

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

Color values

HEX#D2D352
RGBrgb(210, 211, 82)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 61%, 83%)
CMYKcmyk(0.5%, 0%, 61.1%, 17.3%)
CIE-LABlab(82.33, -16.46, 61.77)
CIE-LCHlch(82.33, 63.93, 104.92°)
OKLaboklab(84.2% -0.0503 0.1408)
OKLCHoklch(84.2% 0.149 109.6)
XYZxyz(51.3971, 60.9007, 17.0286)
Luminance0.6090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D352 #5352D3
analogous
#D39352 #D2D352 #92D352
triadic
#D2D352 #52D2D3 #D352D2
tetradic
#D2D352 #52D393 #5352D3 #D35292
square
#D2D352 #52D393 #5352D3 #D35292
split-complementary
#D2D352 #5292D3 #9352D3
monochromatic
#878823 #B8B92F #D2D352 #DFDF83 #EBECB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D352#FFFFFF#000000##000000
##D2D3521.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)
#E3CB42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#E0C7B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d352;
/* rgb */ color: rgb(210, 211, 82);
/* oklch */ color: oklch(84.2% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#e3e088',
    500: '#d2d352',
    950: '#000000',
  },
}
SCSS
$custom: #d2d352;
$custom-light: #e3e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d352",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 60.465,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84195,
    "c": 0.14949,
    "h": 109.6
  },
  "luminance": 0.60899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D352

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

Preview Lab → · Contrast checker → · Palette generator →

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