#D4D541#D4D541

#D4D541 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.7% C 0.163 H 109.8°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D4D541
RGBrgb(212, 213, 65)
HSLhsl(60, 64%, 55%)
HSVhsv(60, 69%, 84%)
CMYKcmyk(0.5%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.90, -17.60, 69.02)
CIE-LCHlch(82.90, 71.23, 104.30°)
OKLaboklab(84.65% -0.0553 0.1534)
OKLCHoklch(84.65% 0.163 109.8)
XYZxyz(51.9016, 61.9687, 14.2271)
Luminance0.6197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D541 #4241D5
analogous
#D58C41 #D4D541 #8AD541
triadic
#D4D541 #41D4D5 #D541D4
tetradic
#D4D541 #41D58C #4241D5 #D5418A
square
#D4D541 #41D58C #4241D5 #D5418A
split-complementary
#D4D541 #418AD5 #8C41D5
monochromatic
#7F7F1C #B1B227 #D4D541 #DFE073 #EBEBA5

Accessibility & contrast

On white

1.57
#D4D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#D4D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D541
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D541#FFFFFF#000000##000000
##D4D5411.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC28
Deuteranopia (green-blind)
#E7D14C
Tritanopia (blue-blind)
#E3C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d541;
/* rgb */ color: rgb(212, 213, 65);
/* oklch */ color: oklch(84.7% 0.163 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e17f',
    500: '#d4d541',
    950: '#000000',
  },
}
SCSS
$custom: #d4d541;
$custom-light: #e5e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d541",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 60.405,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84651,
    "c": 0.16305,
    "h": 109.8
  },
  "luminance": 0.61967
}

Semantic roles & 50–950 ramp

primary
#D4D541
secondary
#343487
accent
#41E742
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D541

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

Preview Lab → · Contrast checker → · Palette generator →

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