#D3D95F#D3D95F

#D3D95F is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.145 H 111.7°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D3D95F
RGBrgb(211, 217, 95)
HSLhsl(63, 62%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(2.8%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.12, -18.10, 58.17)
CIE-LCHlch(84.12, 60.93, 107.29°)
OKLaboklab(85.69% -0.0536 0.1348)
OKLCHoklch(85.69% 0.145 111.7)
XYZxyz(53.7437, 64.3020, 20.4047)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D95F #655FD9
analogous
#D9A25F #D3D95F #96D95F
triadic
#D3D95F #5FD3D9 #D95FD3
tetradic
#D3D95F #5FD9A2 #655FD9 #D95F96
square
#D3D95F #5FD9A2 #655FD9 #D95F96
split-complementary
#D3D95F #5F96D9 #A25FD9
monochromatic
#939924 #C3CB30 #D3D95F #E1E590 #EEF0C2

Accessibility & contrast

On white

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

On black

13.86
#D3D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D95F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D95F#FFFFFF#000000##000000
##D3D95F1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D052
Deuteranopia (green-blind)
#E8D366
Tritanopia (blue-blind)
#E0CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d3d95f;
/* rgb */ color: rgb(211, 217, 95);
/* oklch */ color: oklch(85.7% 0.145 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e490',
    500: '#d3d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d95f;
$custom-light: #e3e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d95f",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 62.951,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85686,
    "c": 0.14503,
    "h": 111.7
  },
  "luminance": 0.64301
}

Semantic roles & 50–950 ramp

primary
#D3D95F
secondary
#433F9E
accent
#1CC925
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D3D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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