#D1D850#D1D850

#D1D850 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.157 H 112.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D1D850
RGBrgb(209, 216, 80)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(3.2%, 0%, 63%, 15.3%)
CIE-LABlab(83.57, -19.47, 63.90)
CIE-LCHlch(83.57, 66.80, 106.95°)
OKLaboklab(85.17% -0.0589 0.145)
OKLCHoklch(85.17% 0.157 112.1)
XYZxyz(52.2998, 63.2474, 17.0408)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D850 #5750D8
analogous
#D89B50 #D1D850 #8DD850
triadic
#D1D850 #50D1D8 #D850D1
tetradic
#D1D850 #50D89B #5750D8 #D8508D
square
#D1D850 #50D89B #5750D8 #D8508D
split-complementary
#D1D850 #508DD8 #9B50D8
monochromatic
#888E20 #B8C02B #D1D850 #DEE382 #EBEEB4

Accessibility & contrast

On white

1.54
#D1D850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#D1D850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D850
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D850#FFFFFF#000000##000000
##D1D8501.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3E
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#DECCBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d850;
/* rgb */ color: rgb(209, 216, 80);
/* oklch */ color: oklch(85.2% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e387',
    500: '#d1d850',
    950: '#000000',
  },
}
SCSS
$custom: #d1d850;
$custom-light: #e2e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d850",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 80
  },
  "hsl": {
    "h": 63.088,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85167,
    "c": 0.15651,
    "h": 112.1
  },
  "luminance": 0.63246
}

Semantic roles & 50–950 ramp

primary
#D1D850
secondary
#3D3994
accent
#41E74A
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D850

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

Preview Lab → · Contrast checker → · Palette generator →

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