#D2D652#D2D652

#D2D652 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.8% C 0.153 H 110.9°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D2D652
RGBrgb(210, 214, 82)
HSLhsl(62, 62%, 58%)
HSVhsv(62, 62%, 84%)
CMYKcmyk(1.9%, 0%, 61.7%, 16.1%)
CIE-LABlab(83.13, -17.95, 62.63)
CIE-LCHlch(83.13, 65.15, 105.99°)
OKLaboklab(84.84% -0.0544 0.1426)
OKLCHoklch(84.84% 0.153 110.9)
XYZxyz(52.1494, 62.4052, 17.2793)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D652 #5652D6
analogous
#D69852 #D2D652 #90D652
triadic
#D2D652 #52D2D6 #D652D2
tetradic
#D2D652 #52D698 #5652D6 #D65290
square
#D2D652 #52D698 #5652D6 #D65290
split-complementary
#D2D652 #5290D6 #9852D6
monochromatic
#898C21 #B9BE2D #D2D652 #DFE283 #ECEDB5

Accessibility & contrast

On white

1.56
#D2D652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D2D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D652
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D652#FFFFFF#000000##000000
##D2D6521.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d652;
/* rgb */ color: rgb(210, 214, 82);
/* oklch */ color: oklch(84.8% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#e3e288',
    500: '#d2d652',
    950: '#000000',
  },
}
SCSS
$custom: #d2d652;
$custom-light: #e3e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d652",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 61.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84836,
    "c": 0.15264,
    "h": 110.9
  },
  "luminance": 0.62404
}

Semantic roles & 50–950 ramp

primary
#D2D652
secondary
#3D3A92
accent
#43E548
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D652

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

Preview Lab → · Contrast checker → · Palette generator →

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