#D4D94F#D4D94F

#D4D94F 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.84:1 contrast (WCAG AA passes).

Color values

HEX#D4D94F
RGBrgb(212, 217, 79)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 64%, 85%)
CMYKcmyk(2.3%, 0%, 63.6%, 14.9%)
CIE-LABlab(84.06, -18.79, 64.89)
CIE-LCHlch(84.06, 67.55, 106.15°)
OKLaboklab(85.61% -0.0572 0.1469)
OKLCHoklch(85.61% 0.158 111.3)
XYZxyz(53.3771, 64.1886, 16.9735)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D94F #544FD9
analogous
#D9994F #D4D94F #8FD94F
triadic
#D4D94F #4FD4D9 #D94FD4
tetradic
#D4D94F #4FD999 #544FD9 #D94F8F
square
#D4D94F #4FD999 #544FD9 #D94F8F
split-complementary
#D4D94F #4F8FD9 #994FD9
monochromatic
#8B8F1F #BCC12A #D4D94F #E0E481 #EDEFB4

Accessibility & contrast

On white

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

On black

13.84
#D4D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D94F
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D94F#FFFFFF#000000##000000
##D4D94F1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d94f;
/* rgb */ color: rgb(212, 217, 79);
/* oklch */ color: oklch(85.6% 0.158 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e487',
    500: '#d4d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d94f;
$custom-light: #e4e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d94f",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 62.174,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85614,
    "c": 0.15765,
    "h": 111.3
  },
  "luminance": 0.64187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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