#D1D352#D1D352

#D1D352 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.150 H 110.1°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D1D352
RGBrgb(209, 211, 82)
HSLhsl(61, 59%, 57%)
HSVhsv(61, 61%, 83%)
CMYKcmyk(0.9%, 0%, 61.1%, 17.3%)
CIE-LABlab(82.25, -16.88, 61.66)
CIE-LCHlch(82.25, 63.93, 105.31°)
OKLaboklab(84.11% -0.0514 0.1406)
OKLCHoklch(84.11% 0.15 110.1)
XYZxyz(51.1133, 60.7544, 17.0153)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D352 #5452D3
analogous
#D39452 #D1D352 #91D352
triadic
#D1D352 #52D1D3 #D352D1
tetradic
#D1D352 #52D394 #5452D3 #D35291
square
#D1D352 #52D394 #5452D3 #D35291
split-complementary
#D1D352 #5291D3 #9452D3
monochromatic
#868823 #B7B92F #D1D352 #DEDF83 #EBECB4

Accessibility & contrast

On white

1.60
#D1D352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D1D352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D352
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D352#FFFFFF#000000##000000
##D1D3521.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#DFC7B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d1d352;
/* rgb */ color: rgb(209, 211, 82);
/* oklch */ color: oklch(84.1% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#e2e088',
    500: '#d1d352',
    950: '#000000',
  },
}
SCSS
$custom: #d1d352;
$custom-light: #e2e088;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d352",
  "rgb": {
    "r": 209,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 60.93,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84113,
    "c": 0.14967,
    "h": 110.1
  },
  "luminance": 0.60753
}

Semantic roles & 50–950 ramp

primary
#D1D352
secondary
#3C3B8E
accent
#45E348
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D352

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

Preview Lab → · Contrast checker → · Palette generator →

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