#D4D94E#D4D94E

#D4D94E is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.158 H 111.3°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D4D94E
RGBrgb(212, 217, 78)
HSLhsl(62, 65%, 58%)
HSVhsv(62, 64%, 85%)
CMYKcmyk(2.3%, 0%, 64.1%, 14.9%)
CIE-LABlab(84.06, -18.85, 65.28)
CIE-LCHlch(84.06, 67.94, 106.11°)
OKLaboklab(85.61% -0.0575 0.1476)
OKLCHoklch(85.61% 0.158 111.3)
XYZxyz(53.3410, 64.1741, 16.7832)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D94E #534ED9
analogous
#D9984E #D4D94E #8FD94E
triadic
#D4D94E #4ED4D9 #D94ED4
tetradic
#D4D94E #4ED998 #534ED9 #D94E8F
square
#D4D94E #4ED998 #534ED9 #D94E8F
split-complementary
#D4D94E #4E8FD9 #984ED9
monochromatic
#8A8E1F #BBC029 #D4D94E #E0E480 #ECEFB3

Accessibility & contrast

On white

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

On black

13.83
#D4D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D94E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D94E#FFFFFF#000000##000000
##D4D94E1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03B
Deuteranopia (green-blind)
#EAD357
Tritanopia (blue-blind)
#E2CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4d94e;
/* rgb */ color: rgb(212, 217, 78);
/* oklch */ color: oklch(85.6% 0.158 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e486',
    500: '#d4d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d94e;
$custom-light: #e4e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d94e",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 62.158,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85606,
    "c": 0.15838,
    "h": 111.3
  },
  "luminance": 0.64173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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