#D4D54E#D4D54E

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

Color values

HEX#D4D54E
RGBrgb(212, 213, 78)
HSLhsl(60, 62%, 57%)
HSVhsv(60, 63%, 84%)
CMYKcmyk(0.5%, 0%, 63.4%, 16.5%)
CIE-LABlab(82.99, -16.88, 64.16)
CIE-LCHlch(82.99, 66.34, 104.74°)
OKLaboklab(84.75% -0.052 0.1452)
OKLCHoklch(84.75% 0.154 109.7)
XYZxyz(52.3224, 62.1370, 16.4437)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D54E #4F4ED5
analogous
#D5924E #D4D54E #91D54E
triadic
#D4D54E #4ED4D5 #D54ED4
tetradic
#D4D54E #4ED592 #4F4ED5 #D54E91
square
#D4D54E #4ED592 #4F4ED5 #D54E91
split-complementary
#D4D54E #4E91D5 #924ED5
monochromatic
#878820 #B9BA2C #D4D54E #E0E17F #ECECB1

Accessibility & contrast

On white

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

On black

13.43
#D4D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D54E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D54E#FFFFFF#000000##000000
##D4D54E1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d54e;
/* rgb */ color: rgb(212, 213, 78);
/* oklch */ color: oklch(84.8% 0.154 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e186',
    500: '#d4d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d54e;
$custom-light: #e4e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d54e",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 60.444,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84751,
    "c": 0.15423,
    "h": 109.7
  },
  "luminance": 0.62136
}

Semantic roles & 50–950 ramp

primary
#D4D54E
secondary
#39398F
accent
#43E544
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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