#D1D154#D1D154

#D1D154 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.146 H 109.2°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D1D154
RGBrgb(209, 209, 84)
HSLhsl(60, 58%, 57%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0%, 0%, 59.8%, 18%)
CIE-LABlab(81.73, -15.75, 60.26)
CIE-LCHlch(81.73, 62.29, 104.65°)
OKLaboklab(83.71% -0.048 0.1379)
OKLCHoklch(83.71% 0.146 109.2)
XYZxyz(50.6967, 59.7977, 17.2573)
Luminance0.5980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D154 #5454D1
analogous
#D19354 #D1D154 #93D154
triadic
#D1D154 #54D1D1 #D154D1
tetradic
#D1D154 #54D193 #5454D1 #D15493
square
#D1D154 #54D193 #5454D1 #D15493
split-complementary
#D1D154 #5493D1 #9354D1
monochromatic
#868624 #B7B731 #D1D154 #DEDE84 #EBEBB4

Accessibility & contrast

On white

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

On black

12.96
#D1D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D154
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D154#FFFFFF#000000##000000
##D1D1541.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#DFC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d1d154;
/* rgb */ color: rgb(209, 209, 84);
/* oklch */ color: oklch(83.7% 0.146 109.2);
Tailwind
colors: {
  custom: {
    50: '#e2de89',
    500: '#d1d154',
    950: '#000000',
  },
}
SCSS
$custom: #d1d154;
$custom-light: #e2de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d154",
  "rgb": {
    "r": 209,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83705,
    "c": 0.14599,
    "h": 109.2
  },
  "luminance": 0.59796
}

Semantic roles & 50–950 ramp

primary
#D1D154
secondary
#3C3C8D
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D154

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

Preview Lab → · Contrast checker → · Palette generator →

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