#D4D84E#D4D84E

#D4D84E 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#D4D84E
RGBrgb(212, 216, 78)
HSLhsl(62, 64%, 58%)
HSVhsv(62, 64%, 85%)
CMYKcmyk(1.9%, 0%, 63.9%, 15.3%)
CIE-LABlab(83.79, -18.36, 65.00)
CIE-LCHlch(83.79, 67.54, 105.78°)
OKLaboklab(85.39% -0.0561 0.147)
OKLCHoklch(85.39% 0.157 110.9)
XYZxyz(53.0840, 63.6602, 16.6976)
Luminance0.6366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D84E #524ED8
analogous
#D8974E #D4D84E #8FD84E
triadic
#D4D84E #4ED4D8 #D84ED4
tetradic
#D4D84E #4ED897 #524ED8 #D84E8F
square
#D4D84E #4ED897 #524ED8 #D84E8F
split-complementary
#D4D84E #4E8FD8 #974ED8
monochromatic
#898D1F #BABF2A #D4D84E #E0E380 #ECEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D84E#FFFFFF#000000##000000
##D4D84E1.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)
#E8CF3C
Deuteranopia (green-blind)
#E9D357
Tritanopia (blue-blind)
#E2CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d84e;
/* rgb */ color: rgb(212, 216, 78);
/* oklch */ color: oklch(85.4% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e386',
    500: '#d4d84e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d84e;
$custom-light: #e4e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d84e",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 78
  },
  "hsl": {
    "h": 61.739,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85392,
    "c": 0.15733,
    "h": 110.9
  },
  "luminance": 0.63659
}

Semantic roles & 50–950 ramp

primary
#D4D84E
secondary
#3B3892
accent
#41E746
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D84E

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

Preview Lab → · Contrast checker → · Palette generator →

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