#D1D54D#D1D54D

#D1D54D is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.156 H 110.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D1D54D
RGBrgb(209, 213, 77)
HSLhsl(62, 62%, 57%)
HSVhsv(62, 64%, 84%)
CMYKcmyk(1.9%, 0%, 63.8%, 16.5%)
CIE-LABlab(82.74, -18.18, 64.23)
CIE-LCHlch(82.74, 66.76, 105.80°)
OKLaboklab(84.5% -0.0555 0.1453)
OKLCHoklch(84.5% 0.156 110.9)
XYZxyz(51.4298, 61.6809, 16.2162)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D54D #514DD5
analogous
#D5954D #D1D54D #8DD54D
triadic
#D1D54D #4DD1D5 #D54DD1
tetradic
#D1D54D #4DD595 #514DD5 #D54D8D
square
#D1D54D #4DD595 #514DD5 #D54D8D
split-complementary
#D1D54D #4D8DD5 #954DD5
monochromatic
#858820 #B5B92C #D1D54D #DEE17F #EBECB0

Accessibility & contrast

On white

1.57
#D1D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D1D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D54D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D54D#FFFFFF#000000##000000
##D1D54D1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3B
Deuteranopia (green-blind)
#E6D056
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d54d;
/* rgb */ color: rgb(209, 213, 77);
/* oklch */ color: oklch(84.5% 0.156 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e185',
    500: '#d1d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d1d54d;
$custom-light: #e2e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d54d",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 61.765,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84497,
    "c": 0.15556,
    "h": 110.9
  },
  "luminance": 0.6168
}

Semantic roles & 50–950 ramp

primary
#D1D54D
secondary
#3B388E
accent
#43E548
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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