#D1D72E#D1D72E

#D1D72E is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.176 H 111.8°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D1D72E
RGBrgb(209, 215, 46)
HSLhsl(62, 68%, 51%)
HSVhsv(62, 79%, 84%)
CMYKcmyk(2.8%, 0%, 78.6%, 15.7%)
CIE-LABlab(83.10, -20.62, 75.17)
CIE-LCHlch(83.10, 77.94, 105.34°)
OKLaboklab(84.73% -0.0651 0.1632)
OKLCHoklch(84.73% 0.176 111.8)
XYZxyz(51.0899, 62.3548, 11.9286)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D72E #342ED7
analogous
#D7882E #D1D72E #7CD72E
triadic
#D1D72E #2ED1D7 #D72ED1
tetradic
#D1D72E #2ED788 #342ED7 #D72E7C
square
#D1D72E #2ED788 #342ED7 #D72E7C
split-complementary
#D1D72E #2E7CD7 #882ED7
monochromatic
#717416 #A3A820 #D1D72E #DCE161 #E8EB95

Accessibility & contrast

On white

1.56
#D1D72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#D1D72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D72E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D72E#FFFFFF#000000##000000
##D1D72E1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#E9D13E
Tritanopia (blue-blind)
#E0C9B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d72e;
/* rgb */ color: rgb(209, 215, 46);
/* oklch */ color: oklch(84.7% 0.176 111.8);
Tailwind
colors: {
  custom: {
    50: '#e3e376',
    500: '#d1d72e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d72e;
$custom-light: #e3e376;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d72e",
  "rgb": {
    "r": 209,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 62.13,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84726,
    "c": 0.17575,
    "h": 111.8
  },
  "luminance": 0.62353
}

Semantic roles & 50–950 ramp

primary
#D1D72E
secondary
#2F2C7D
accent
#3DEB43
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D1D72E

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

Preview Lab → · Contrast checker → · Palette generator →

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