#D1D93F#D1D93F

#D1D93F is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.169 H 112.4°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D1D93F
RGBrgb(209, 217, 63)
HSLhsl(63, 67%, 55%)
HSVhsv(63, 71%, 85%)
CMYKcmyk(3.7%, 0%, 71%, 14.9%)
CIE-LABlab(83.73, -20.90, 70.45)
CIE-LCHlch(83.73, 73.49, 106.52°)
OKLaboklab(85.25% -0.0645 0.1562)
OKLCHoklch(85.25% 0.169 112.4)
XYZxyz(52.0062, 63.5411, 14.2268)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D93F #473FD9
analogous
#D9943F #D1D93F #84D93F
triadic
#D1D93F #3FD1D9 #D93FD1
tetradic
#D1D93F #3FD994 #473FD9 #D93F84
square
#D1D93F #3FD994 #473FD9 #D93F84
split-complementary
#D1D93F #3F84D9 #943FD9
monochromatic
#7E841A #AFB724 #D1D93F #DDE372 #E9EDA5

Accessibility & contrast

On white

1.53
#D1D93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D1D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D93F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D93F#FFFFFF#000000##000000
##D1D93F1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF23
Deuteranopia (green-blind)
#EAD24B
Tritanopia (blue-blind)
#DFCCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d93f;
/* rgb */ color: rgb(209, 217, 63);
/* oklch */ color: oklch(85.3% 0.169 112.4);
Tailwind
colors: {
  custom: {
    50: '#e3e47e',
    500: '#d1d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d93f;
$custom-light: #e3e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d93f",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 63.117,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85253,
    "c": 0.16897,
    "h": 112.4
  },
  "luminance": 0.6354
}

Semantic roles & 50–950 ramp

primary
#D1D93F
secondary
#37328A
accent
#3EEA47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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