#D1D949#D1D949

#D1D949 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.163 H 112.5°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D1D949
RGBrgb(209, 217, 73)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(3.7%, 0%, 66.4%, 14.9%)
CIE-LABlab(83.79, -20.38, 66.88)
CIE-LCHlch(83.79, 69.91, 106.94°)
OKLaboklab(85.32% -0.0621 0.1503)
OKLCHoklch(85.32% 0.163 112.5)
XYZxyz(52.3115, 63.6632, 15.8346)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D949 #5149D9
analogous
#D99949 #D1D949 #89D949
triadic
#D1D949 #49D1D9 #D949D1
tetradic
#D1D949 #49D999 #5149D9 #D94989
square
#D1D949 #49D999 #5149D9 #D94989
split-complementary
#D1D949 #4989D9 #9949D9
monochromatic
#858B1D #B5BD28 #D1D949 #DEE47C #EBEEAE

Accessibility & contrast

On white

1.53
#D1D949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D1D949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D949
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D949#FFFFFF#000000##000000
##D1D9491.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF34
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#DFCCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d949;
/* rgb */ color: rgb(209, 217, 73);
/* oklch */ color: oklch(85.3% 0.163 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e483',
    500: '#d1d949',
    950: '#000000',
  },
}
SCSS
$custom: #d1d949;
$custom-light: #e2e483;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d949",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 63.333,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85325,
    "c": 0.16259,
    "h": 112.5
  },
  "luminance": 0.63662
}

Semantic roles & 50–950 ramp

primary
#D1D949
secondary
#3B3691
accent
#3FE849
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D949

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

Preview Lab → · Contrast checker → · Palette generator →

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