#D4D84F#D4D84F

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

Color values

HEX#D4D84F
RGBrgb(212, 216, 79)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 63%, 85%)
CMYKcmyk(1.9%, 0%, 63.4%, 15.3%)
CIE-LABlab(83.80, -18.30, 64.61)
CIE-LCHlch(83.80, 67.15, 105.82°)
OKLaboklab(85.4% -0.0559 0.1463)
OKLCHoklch(85.4% 0.157 110.9)
XYZxyz(53.1201, 63.6746, 16.8878)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D84F #534FD8
analogous
#D8984F #D4D84F #8FD84F
triadic
#D4D84F #4FD4D8 #D84FD4
tetradic
#D4D84F #4FD898 #534FD8 #D84F8F
square
#D4D84F #4FD898 #534FD8 #D84F8F
split-complementary
#D4D84F #4F8FD8 #984FD8
monochromatic
#8A8D1F #BBBF2A #D4D84F #E0E381 #ECEEB3

Accessibility & contrast

On white

1.53
#D4D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D4D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D84F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D84F#FFFFFF#000000##000000
##D4D84F1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d84f;
/* rgb */ color: rgb(212, 216, 79);
/* oklch */ color: oklch(85.4% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e387',
    500: '#d4d84f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d84f;
$custom-light: #e4e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d84f",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 61.752,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.854,
    "c": 0.1566,
    "h": 110.9
  },
  "luminance": 0.63673
}

Semantic roles & 50–950 ramp

primary
#D4D84F
secondary
#3B3893
accent
#41E746
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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