#D3D94E#D3D94E

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

Color values

HEX#D3D94E
RGBrgb(211, 217, 78)
HSLhsl(63, 65%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(2.8%, 0%, 64.1%, 14.9%)
CIE-LABlab(83.98, -19.26, 65.17)
CIE-LCHlch(83.98, 67.96, 106.47°)
OKLaboklab(85.53% -0.0586 0.1474)
OKLCHoklch(85.53% 0.159 111.7)
XYZxyz(53.0535, 64.0259, 16.7697)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D94E #544ED9
analogous
#D9994E #D3D94E #8DD94E
triadic
#D3D94E #4ED3D9 #D94ED3
tetradic
#D3D94E #4ED999 #544ED9 #D94E8D
square
#D3D94E #4ED999 #544ED9 #D94E8D
split-complementary
#D3D94E #4E8DD9 #994ED9
monochromatic
#898E1F #BAC029 #D3D94E #E0E480 #ECEFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D94E#FFFFFF#000000##000000
##D3D94E1.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)
#E9D03B
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#E1CCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d94e;
/* rgb */ color: rgb(211, 217, 78);
/* oklch */ color: oklch(85.5% 0.159 111.7);
Tailwind
colors: {
  custom: {
    50: '#e4e486',
    500: '#d3d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d3d94e;
$custom-light: #e4e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d94e",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 62.59,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85525,
    "c": 0.1586,
    "h": 111.7
  },
  "luminance": 0.64025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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