#D1D95E#D1D95E

#D1D95E is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.5% C 0.146 H 112.5°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D1D95E
RGBrgb(209, 217, 94)
HSLhsl(64, 62%, 61%)
HSVhsv(64, 57%, 85%)
CMYKcmyk(3.7%, 0%, 56.7%, 14.9%)
CIE-LABlab(83.96, -18.99, 58.39)
CIE-LCHlch(83.96, 61.40, 108.01°)
OKLaboklab(85.52% -0.0561 0.1352)
OKLCHoklch(85.52% 0.146 112.5)
XYZxyz(53.1290, 63.9902, 20.1401)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D95E #665ED9
analogous
#D9A35E #D1D95E #93D95E
triadic
#D1D95E #5ED1D9 #D95ED1
tetradic
#D1D95E #5ED9A3 #665ED9 #D95E93
square
#D1D95E #5ED9A3 #665ED9 #D95E93
split-complementary
#D1D95E #5E93D9 #A35ED9
monochromatic
#919924 #C0CA30 #D1D95E #DFE590 #EDF0C1

Accessibility & contrast

On white

1.52
#D1D95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#D1D95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D95E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D95E#FFFFFF#000000##000000
##D1D95E1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D051
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#DECDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d95e;
/* rgb */ color: rgb(209, 217, 94);
/* oklch */ color: oklch(85.5% 0.146 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e490',
    500: '#d1d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d1d95e;
$custom-light: #e2e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d95e",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 63.902,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85516,
    "c": 0.14633,
    "h": 112.5
  },
  "luminance": 0.63989
}

Semantic roles & 50–950 ramp

primary
#D1D95E
secondary
#443E9D
accent
#1CCA27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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