#D1D348#D1D348

#D1D348 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.157 H 110.2°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D1D348
RGBrgb(209, 211, 72)
HSLhsl(61, 61%, 55%)
HSVhsv(61, 66%, 83%)
CMYKcmyk(0.9%, 0%, 65.9%, 17.3%)
CIE-LABlab(82.17, -17.49, 65.61)
CIE-LCHlch(82.17, 67.90, 104.92°)
OKLaboklab(84.03% -0.0541 0.1474)
OKLCHoklch(84.03% 0.157 110.2)
XYZxyz(50.7601, 60.6131, 15.1552)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D348 #4A48D3
analogous
#D38F48 #D1D348 #8CD348
triadic
#D1D348 #48D1D3 #D348D1
tetradic
#D1D348 #48D38F #4A48D3 #D3488C
square
#D1D348 #48D38F #4A48D3 #D3488C
split-complementary
#D1D348 #488CD3 #8F48D3
monochromatic
#80811F #B1B32B #D1D348 #DDDF79 #EAEBAB

Accessibility & contrast

On white

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

On black

13.12
#D1D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D348
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D348#FFFFFF#000000##000000
##D1D3481.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA34
Deuteranopia (green-blind)
#E5CE51
Tritanopia (blue-blind)
#DFC6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d1d348;
/* rgb */ color: rgb(209, 211, 72);
/* oklch */ color: oklch(84.0% 0.157 110.2);
Tailwind
colors: {
  custom: {
    50: '#e2e082',
    500: '#d1d348',
    950: '#000000',
  },
}
SCSS
$custom: #d1d348;
$custom-light: #e2e082;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d348",
  "rgb": {
    "r": 209,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 60.863,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84028,
    "c": 0.15704,
    "h": 110.2
  },
  "luminance": 0.60612
}

Semantic roles & 50–950 ramp

primary
#D1D348
secondary
#383789
accent
#43E446
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D348

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

Preview Lab → · Contrast checker → · Palette generator →

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