#D1D849#D1D849

#D1D849 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.1% C 0.162 H 112.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D1D849
RGBrgb(209, 216, 73)
HSLhsl(63, 65%, 57%)
HSVhsv(63, 66%, 85%)
CMYKcmyk(3.2%, 0%, 66.2%, 15.3%)
CIE-LABlab(83.52, -19.89, 66.60)
CIE-LCHlch(83.52, 69.51, 106.63°)
OKLaboklab(85.11% -0.0607 0.1497)
OKLCHoklch(85.11% 0.162 112.1)
XYZxyz(52.0545, 63.1493, 15.7490)
Luminance0.6315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D849 #5049D8
analogous
#D89849 #D1D849 #8AD849
triadic
#D1D849 #49D1D8 #D849D1
tetradic
#D1D849 #49D898 #5049D8 #D8498A
square
#D1D849 #49D898 #5049D8 #D8498A
split-complementary
#D1D849 #498AD8 #9849D8
monochromatic
#84891D #B4BC28 #D1D849 #DEE37B #EAEEAE

Accessibility & contrast

On white

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

On black

13.63
#D1D849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D849
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D849#FFFFFF#000000##000000
##D1D8491.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE34
Deuteranopia (green-blind)
#E8D253
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d1d849;
/* rgb */ color: rgb(209, 216, 73);
/* oklch */ color: oklch(85.1% 0.162 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e383',
    500: '#d1d849',
    950: '#000000',
  },
}
SCSS
$custom: #d1d849;
$custom-light: #e2e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d849",
  "rgb": {
    "r": 209,
    "g": 216,
    "b": 73
  },
  "hsl": {
    "h": 62.937,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85109,
    "c": 0.16153,
    "h": 112.1
  },
  "luminance": 0.63148
}

Semantic roles & 50–950 ramp

primary
#D1D849
secondary
#3A368F
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D849

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

Preview Lab → · Contrast checker → · Palette generator →

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