#D3D94F#D3D94F

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

Color values

HEX#D3D94F
RGBrgb(211, 217, 79)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(2.8%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.99, -19.20, 64.78)
CIE-LCHlch(83.99, 67.57, 106.51°)
OKLaboklab(85.53% -0.0583 0.1467)
OKLCHoklch(85.53% 0.158 111.7)
XYZxyz(53.0896, 64.0403, 16.9600)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D94F #554FD9
analogous
#D99A4F #D3D94F #8ED94F
triadic
#D3D94F #4FD3D9 #D94FD3
tetradic
#D3D94F #4FD99A #554FD9 #D94F8E
square
#D3D94F #4FD99A #554FD9 #D94F8E
split-complementary
#D3D94F #4F8ED9 #9A4FD9
monochromatic
#8A8F1F #BBC12A #D3D94F #E0E481 #ECEFB4

Accessibility & contrast

On white

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

On black

13.81
#D3D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D94F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D94F#FFFFFF#000000##000000
##D3D94F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d94f;
/* rgb */ color: rgb(211, 217, 79);
/* oklch */ color: oklch(85.5% 0.158 111.7);
Tailwind
colors: {
  custom: {
    50: '#e4e487',
    500: '#d3d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d3d94f;
$custom-light: #e4e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d94f",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 62.609,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85534,
    "c": 0.15786,
    "h": 111.7
  },
  "luminance": 0.64039
}

Semantic roles & 50–950 ramp

primary
#D3D94F
secondary
#3C3894
accent
#40E748
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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