#D1D148#D1D148

#D1D148 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.155 H 109.3°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D1D148
RGBrgb(209, 209, 72)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0%, 65.6%, 18%)
CIE-LABlab(81.63, -16.49, 65.06)
CIE-LCHlch(81.63, 67.12, 104.23°)
OKLaboklab(83.6% -0.0513 0.1463)
OKLCHoklch(83.6% 0.155 109.3)
XYZxyz(50.2663, 59.6256, 14.9906)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D148 #4848D1
analogous
#D18C48 #D1D148 #8CD148
triadic
#D1D148 #48D1D1 #D148D1
tetradic
#D1D148 #48D18C #4848D1 #D1488C
square
#D1D148 #48D18C #4848D1 #D1488C
split-complementary
#D1D148 #488CD1 #8C48D1
monochromatic
#7F7F20 #B0B02C #D1D148 #DDDD79 #EAEAAA

Accessibility & contrast

On white

1.62
#D1D148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D1D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D148
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D148#FFFFFF#000000##000000
##D1D1481.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C835
Deuteranopia (green-blind)
#E3CD51
Tritanopia (blue-blind)
#DFC4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d148;
/* rgb */ color: rgb(209, 209, 72);
/* oklch */ color: oklch(83.6% 0.155 109.3);
Tailwind
colors: {
  custom: {
    50: '#e2de82',
    500: '#d1d148',
    950: '#000000',
  },
}
SCSS
$custom: #d1d148;
$custom-light: #e2de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d148",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.836,
    "c": 0.15502,
    "h": 109.3
  },
  "luminance": 0.59624
}

Semantic roles & 50–950 ramp

primary
#D1D148
secondary
#373786
accent
#45E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D148

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

Preview Lab → · Contrast checker → · Palette generator →

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