#D1D952#D1D952

#D1D952 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.156 H 112.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D1D952
RGBrgb(209, 217, 82)
HSLhsl(64, 64%, 59%)
HSVhsv(64, 62%, 85%)
CMYKcmyk(3.7%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.86, -19.83, 63.38)
CIE-LCHlch(83.86, 66.41, 107.37°)
OKLaboklab(85.4% -0.0597 0.1442)
OKLCHoklch(85.4% 0.156 112.5)
XYZxyz(52.6318, 63.7913, 17.5214)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D952 #5A52D9
analogous
#D99D52 #D1D952 #8DD952
triadic
#D1D952 #52D1D9 #D952D1
tetradic
#D1D952 #52D99D #5A52D9 #D9528D
square
#D1D952 #52D99D #5A52D9 #D9528D
split-complementary
#D1D952 #528DD9 #9D52D9
monochromatic
#8A9120 #BAC32B #D1D952 #DEE484 #ECEFB6

Accessibility & contrast

On white

1.53
#D1D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D1D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D952
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D952#FFFFFF#000000##000000
##D1D9521.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#DECDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d952;
/* rgb */ color: rgb(209, 217, 82);
/* oklch */ color: oklch(85.4% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e489',
    500: '#d1d952',
    950: '#000000',
  },
}
SCSS
$custom: #d1d952;
$custom-light: #e2e489;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d952",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 63.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.854,
    "c": 0.15608,
    "h": 112.5
  },
  "luminance": 0.6379
}

Semantic roles & 50–950 ramp

primary
#D1D952
secondary
#3F3996
accent
#41E74B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D952

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

Preview Lab → · Contrast checker → · Palette generator →

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