#D5D94F#D5D94F

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

Color values

HEX#D5D94F
RGBrgb(213, 217, 79)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 64%, 85%)
CMYKcmyk(1.8%, 0%, 63.6%, 14.9%)
CIE-LABlab(84.14, -18.38, 64.99)
CIE-LCHlch(84.14, 67.54, 105.79°)
OKLaboklab(85.7% -0.0561 0.1471)
OKLCHoklch(85.7% 0.157 110.9)
XYZxyz(53.6663, 64.3377, 16.9870)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D94F #534FD9
analogous
#D9984F #D5D94F #90D94F
triadic
#D5D94F #4FD5D9 #D94FD5
tetradic
#D5D94F #4FD998 #534FD9 #D94F90
square
#D5D94F #4FD998 #534FD9 #D94F90
split-complementary
#D5D94F #4F90D9 #984FD9
monochromatic
#8C8F1F #BDC12A #D5D94F #E1E481 #EDEFB4

Accessibility & contrast

On white

1.51
#D5D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D5D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D94F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D94F#FFFFFF#000000##000000
##D5D94F1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#EAD458
Tritanopia (blue-blind)
#E3CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d94f;
/* rgb */ color: rgb(213, 217, 79);
/* oklch */ color: oklch(85.7% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e487',
    500: '#d5d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d94f;
$custom-light: #e5e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d94f",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 61.739,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85695,
    "c": 0.15744,
    "h": 110.9
  },
  "luminance": 0.64336
}

Semantic roles & 50–950 ramp

primary
#D5D94F
secondary
#3B3894
accent
#40E745
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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