#D4D54C#D4D54C

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

Color values

HEX#D4D54C
RGBrgb(212, 213, 76)
HSLhsl(60, 62%, 57%)
HSVhsv(60, 64%, 84%)
CMYKcmyk(0.5%, 0%, 64.3%, 16.5%)
CIE-LABlab(82.97, -17.00, 64.94)
CIE-LCHlch(82.97, 67.13, 104.67°)
OKLaboklab(84.73% -0.0525 0.1466)
OKLCHoklch(84.73% 0.156 109.7)
XYZxyz(52.2518, 62.1088, 16.0718)
Luminance0.6211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D54C #4D4CD5
analogous
#D5924C #D4D54C #90D54C
triadic
#D4D54C #4CD4D5 #D54CD4
tetradic
#D4D54C #4CD592 #4D4CD5 #D54C90
square
#D4D54C #4CD592 #4D4CD5 #D54C90
split-complementary
#D4D54C #4C90D5 #924CD5
monochromatic
#868720 #B7B92B #D4D54C #E0E17E #ECECAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D54C#FFFFFF#000000##000000
##D4D54C1.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)
#E5CC39
Deuteranopia (green-blind)
#E7D155
Tritanopia (blue-blind)
#E2C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d54c;
/* rgb */ color: rgb(212, 213, 76);
/* oklch */ color: oklch(84.7% 0.156 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e185',
    500: '#d4d54c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d54c;
$custom-light: #e4e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d54c",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 60.438,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84734,
    "c": 0.15568,
    "h": 109.7
  },
  "luminance": 0.62107
}

Semantic roles & 50–950 ramp

primary
#D4D54C
secondary
#38388D
accent
#43E544
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D54C

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

Preview Lab → · Contrast checker → · Palette generator →

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