#D1D95F#D1D95F

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

Color values

HEX#D1D95F
RGBrgb(209, 217, 95)
HSLhsl(64, 62%, 61%)
HSVhsv(64, 56%, 85%)
CMYKcmyk(3.7%, 0%, 56.2%, 14.9%)
CIE-LABlab(83.97, -18.91, 57.96)
CIE-LCHlch(83.97, 60.97, 108.07°)
OKLaboklab(85.53% -0.0558 0.1344)
OKLCHoklch(85.53% 0.145 112.5)
XYZxyz(53.1741, 64.0083, 20.3780)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D95F #675FD9
analogous
#D9A45F #D1D95F #94D95F
triadic
#D1D95F #5FD1D9 #D95FD1
tetradic
#D1D95F #5FD9A4 #675FD9 #D95F94
square
#D1D95F #5FD9A4 #675FD9 #D95F94
split-complementary
#D1D95F #5F94D9 #A45FD9
monochromatic
#929924 #C1CB30 #D1D95F #DFE590 #EDF0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1D95F#FFFFFF#000000##000000
##D1D95F1.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)
#E8D052
Deuteranopia (green-blind)
#E8D366
Tritanopia (blue-blind)
#DECDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d1d95f;
/* rgb */ color: rgb(209, 217, 95);
/* oklch */ color: oklch(85.5% 0.145 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e490',
    500: '#d1d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d1d95f;
$custom-light: #e1e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d95f",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 63.934,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85527,
    "c": 0.14547,
    "h": 112.5
  },
  "luminance": 0.64007
}

Semantic roles & 50–950 ramp

primary
#D1D95F
secondary
#453F9E
accent
#1CC928
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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