#D1D54F#D1D54F

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

Color values

HEX#D1D54F
RGBrgb(209, 213, 79)
HSLhsl(62, 61%, 57%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(1.9%, 0%, 62.9%, 16.5%)
CIE-LABlab(82.76, -18.06, 63.44)
CIE-LCHlch(82.76, 65.96, 105.89°)
OKLaboklab(84.51% -0.055 0.1439)
OKLCHoklch(84.51% 0.154 110.9)
XYZxyz(51.5015, 61.7096, 16.5938)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D54F #534FD5
analogous
#D5964F #D1D54F #8ED54F
triadic
#D1D54F #4FD1D5 #D54FD1
tetradic
#D1D54F #4FD596 #534FD5 #D54F8E
square
#D1D54F #4FD596 #534FD5 #D54F8E
split-complementary
#D1D54F #4F8ED5 #964FD5
monochromatic
#868921 #B6BA2C #D1D54F #DEE180 #EBEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D54F#FFFFFF#000000##000000
##D1D54F1.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)
#E5CC3E
Deuteranopia (green-blind)
#E6D058
Tritanopia (blue-blind)
#DFC9B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d54f;
/* rgb */ color: rgb(209, 213, 79);
/* oklch */ color: oklch(84.5% 0.154 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e187',
    500: '#d1d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d54f;
$custom-light: #e2e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d54f",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 61.791,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84514,
    "c": 0.15407,
    "h": 110.9
  },
  "luminance": 0.61708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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