#D4D84C#D4D84C

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

Color values

HEX#D4D84C
RGBrgb(212, 216, 76)
HSLhsl(62, 64%, 57%)
HSVhsv(62, 65%, 85%)
CMYKcmyk(1.9%, 0%, 64.8%, 15.3%)
CIE-LABlab(83.77, -18.48, 65.77)
CIE-LCHlch(83.77, 68.32, 105.69°)
OKLaboklab(85.38% -0.0567 0.1483)
OKLCHoklch(85.38% 0.159 110.9)
XYZxyz(53.0134, 63.6319, 16.3257)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D84C #504CD8
analogous
#D8964C #D4D84C #8ED84C
triadic
#D4D84C #4CD4D8 #D84CD4
tetradic
#D4D84C #4CD896 #504CD8 #D84C8E
square
#D4D84C #4CD896 #504CD8 #D84C8E
split-complementary
#D4D84C #4C8ED8 #964CD8
monochromatic
#888B1E #B9BE29 #D4D84C #E0E37E #ECEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D84C#FFFFFF#000000##000000
##D4D84C1.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)
#E8CF39
Deuteranopia (green-blind)
#E9D355
Tritanopia (blue-blind)
#E2CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d4d84c;
/* rgb */ color: rgb(212, 216, 76);
/* oklch */ color: oklch(85.4% 0.159 110.9);
Tailwind
colors: {
  custom: {
    50: '#e4e385',
    500: '#d4d84c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d84c;
$custom-light: #e4e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d84c",
  "rgb": {
    "r": 212,
    "g": 216,
    "b": 76
  },
  "hsl": {
    "h": 61.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85375,
    "c": 0.15877,
    "h": 110.9
  },
  "luminance": 0.63631
}

Semantic roles & 50–950 ramp

primary
#D4D84C
secondary
#3A3791
accent
#41E745
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D84C

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

Preview Lab → · Contrast checker → · Palette generator →

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