#D1D64C#D1D64C

#D1D64C is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.157 H 111.3°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#D1D64C
RGBrgb(209, 214, 76)
HSLhsl(62, 63%, 57%)
HSVhsv(62, 64%, 84%)
CMYKcmyk(2.3%, 0%, 64.5%, 16.1%)
CIE-LABlab(83.00, -18.73, 64.90)
CIE-LCHlch(83.00, 67.55, 106.10°)
OKLaboklab(84.7% -0.0572 0.1466)
OKLCHoklch(84.7% 0.157 111.3)
XYZxyz(51.6471, 62.1715, 16.1157)
Luminance0.6217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D64C #514CD6
analogous
#D6964C #D1D64C #8CD64C
triadic
#D1D64C #4CD1D6 #D64CD1
tetradic
#D1D64C #4CD696 #514CD6 #D64C8C
square
#D1D64C #4CD696 #514CD6 #D64C8C
split-complementary
#D1D64C #4C8CD6 #964CD6
monochromatic
#85881F #B5BA2B #D1D64C #DEE17E #EBEDB0

Accessibility & contrast

On white

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

On black

13.43
#D1D64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D64C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D64C#FFFFFF#000000##000000
##D1D64C1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD39
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#DFC9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d1d64c;
/* rgb */ color: rgb(209, 214, 76);
/* oklch */ color: oklch(84.7% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e285',
    500: '#d1d64c',
    950: '#000000',
  },
}
SCSS
$custom: #d1d64c;
$custom-light: #e2e285;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d64c",
  "rgb": {
    "r": 209,
    "g": 214,
    "b": 76
  },
  "hsl": {
    "h": 62.174,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84703,
    "c": 0.15733,
    "h": 111.3
  },
  "luminance": 0.6217
}

Semantic roles & 50–950 ramp

primary
#D1D64C
secondary
#3B388F
accent
#42E648
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D64C

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

Preview Lab → · Contrast checker → · Palette generator →

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