#D1D250#D1D250

#D1D250 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.9% C 0.150 H 109.7°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D1D250
RGBrgb(209, 210, 80)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0.5%, 0%, 61.9%, 17.6%)
CIE-LABlab(81.96, -16.51, 62.19)
CIE-LCHlch(81.96, 64.35, 104.87°)
OKLaboklab(83.88% -0.0505 0.1414)
OKLCHoklch(83.88% 0.15 109.7)
XYZxyz(50.7906, 60.2291, 16.5377)
Luminance0.6023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D250 #5150D2
analogous
#D29250 #D1D250 #90D250
triadic
#D1D250 #50D1D2 #D250D1
tetradic
#D1D250 #50D292 #5150D2 #D25090
square
#D1D250 #50D292 #5150D2 #D25090
split-complementary
#D1D250 #5090D2 #9250D2
monochromatic
#858522 #B5B62F #D1D250 #DEDF81 #EBEBB1

Accessibility & contrast

On white

1.61
#D1D250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D1D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D250
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D250#FFFFFF#000000##000000
##D1D2501.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d250;
/* rgb */ color: rgb(209, 210, 80);
/* oklch */ color: oklch(83.9% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#e2df87',
    500: '#d1d250',
    950: '#000000',
  },
}
SCSS
$custom: #d1d250;
$custom-light: #e2df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d250",
  "rgb": {
    "r": 209,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 60.462,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83881,
    "c": 0.15018,
    "h": 109.7
  },
  "luminance": 0.60228
}

Semantic roles & 50–950 ramp

primary
#D1D250
secondary
#3B3A8C
accent
#46E247
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D250

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

Preview Lab → · Contrast checker → · Palette generator →

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