#D1D652#D1D652

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

Color values

HEX#D1D652
RGBrgb(209, 214, 82)
HSLhsl(62, 62%, 58%)
HSVhsv(62, 62%, 84%)
CMYKcmyk(2.3%, 0%, 61.7%, 16.1%)
CIE-LABlab(83.05, -18.36, 62.52)
CIE-LCHlch(83.05, 65.16, 106.36°)
OKLaboklab(84.76% -0.0555 0.1424)
OKLCHoklch(84.76% 0.153 111.3)
XYZxyz(51.8655, 62.2589, 17.2660)
Luminance0.6226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D652 #5752D6
analogous
#D69952 #D1D652 #8FD652
triadic
#D1D652 #52D1D6 #D652D1
tetradic
#D1D652 #52D699 #5752D6 #D6528F
square
#D1D652 #52D699 #5752D6 #D6528F
split-complementary
#D1D652 #528FD6 #9952D6
monochromatic
#888C21 #B8BE2D #D1D652 #DEE283 #EBEDB5

Accessibility & contrast

On white

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

On black

13.45
#D1D652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D652
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D652#FFFFFF#000000##000000
##D1D6521.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d652;
/* rgb */ color: rgb(209, 214, 82);
/* oklch */ color: oklch(84.8% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e288',
    500: '#d1d652',
    950: '#000000',
  },
}
SCSS
$custom: #d1d652;
$custom-light: #e2e288;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d652",
  "rgb": {
    "r": 209,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 62.273,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84755,
    "c": 0.15285,
    "h": 111.3
  },
  "luminance": 0.62258
}

Semantic roles & 50–950 ramp

primary
#D1D652
secondary
#3D3A92
accent
#43E549
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D652

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

Preview Lab → · Contrast checker → · Palette generator →

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