#D4D54D#D4D54D

#D4D54D is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.155 H 109.7°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D4D54D
RGBrgb(212, 213, 77)
HSLhsl(60, 62%, 57%)
HSVhsv(60, 64%, 84%)
CMYKcmyk(0.5%, 0%, 63.8%, 16.5%)
CIE-LABlab(82.98, -16.94, 64.55)
CIE-LCHlch(82.98, 66.74, 104.71°)
OKLaboklab(84.74% -0.0522 0.1459)
OKLCHoklch(84.74% 0.155 109.7)
XYZxyz(52.2868, 62.1228, 16.2563)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D54D #4E4DD5
analogous
#D5924D #D4D54D #90D54D
triadic
#D4D54D #4DD4D5 #D54DD4
tetradic
#D4D54D #4DD592 #4E4DD5 #D54D90
square
#D4D54D #4DD592 #4E4DD5 #D54D90
split-complementary
#D4D54D #4D90D5 #924DD5
monochromatic
#878820 #B8B92C #D4D54D #E0E17F #ECECB0

Accessibility & contrast

On white

1.56
#D4D54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D4D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D54D
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D54D#FFFFFF#000000##000000
##D4D54D1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3B
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#E2C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d54d;
/* rgb */ color: rgb(212, 213, 77);
/* oklch */ color: oklch(84.7% 0.155 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e185',
    500: '#d4d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d54d;
$custom-light: #e4e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d54d",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 60.441,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84743,
    "c": 0.15496,
    "h": 109.7
  },
  "luminance": 0.62121
}

Semantic roles & 50–950 ramp

primary
#D4D54D
secondary
#39388E
accent
#43E544
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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