#D1D54E#D1D54E

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

Color values

HEX#D1D54E
RGBrgb(209, 213, 78)
HSLhsl(62, 62%, 57%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(1.9%, 0%, 63.4%, 16.5%)
CIE-LABlab(82.75, -18.12, 63.84)
CIE-LCHlch(82.75, 66.36, 105.84°)
OKLaboklab(84.51% -0.0553 0.1446)
OKLCHoklch(84.51% 0.155 110.9)
XYZxyz(51.4654, 61.6951, 16.4035)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D54E #524ED5
analogous
#D5964E #D1D54E #8DD54E
triadic
#D1D54E #4ED1D5 #D54ED1
tetradic
#D1D54E #4ED596 #524ED5 #D54E8D
square
#D1D54E #4ED596 #524ED5 #D54E8D
split-complementary
#D1D54E #4E8DD5 #964ED5
monochromatic
#858820 #B6BA2C #D1D54E #DEE17F #EBECB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D54E#FFFFFF#000000##000000
##D1D54E1.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)
#E5CC3C
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#DFC8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d1d54e;
/* rgb */ color: rgb(209, 213, 78);
/* oklch */ color: oklch(84.5% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#e2e186',
    500: '#d1d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d54e;
$custom-light: #e2e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d54e",
  "rgb": {
    "r": 209,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 61.778,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84506,
    "c": 0.15481,
    "h": 110.9
  },
  "luminance": 0.61694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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