#D4D645#D4D645

#D4D645 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.162 H 110.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D4D645
RGBrgb(212, 214, 69)
HSLhsl(61, 64%, 55%)
HSVhsv(61, 68%, 84%)
CMYKcmyk(0.9%, 0%, 67.8%, 16.1%)
CIE-LABlab(83.19, -17.89, 67.85)
CIE-LCHlch(83.19, 70.17, 104.77°)
OKLaboklab(84.89% -0.0557 0.1516)
OKLCHoklch(84.89% 0.162 110.2)
XYZxyz(52.2739, 62.5213, 14.9433)
Luminance0.6252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D645 #4745D6
analogous
#D69045 #D4D645 #8BD645
triadic
#D4D645 #45D4D6 #D645D4
tetradic
#D4D645 #45D690 #4745D6 #D6458B
square
#D4D645 #45D690 #4745D6 #D6458B
split-complementary
#D4D645 #458BD6 #9045D6
monochromatic
#82841D #B4B628 #D4D645 #E0E177 #EBECA9

Accessibility & contrast

On white

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

On black

13.50
#D4D645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D645
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D645#FFFFFF#000000##000000
##D4D6451.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2E
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#E3C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d645;
/* rgb */ color: rgb(212, 214, 69);
/* oklch */ color: oklch(84.9% 0.162 110.2);
Tailwind
colors: {
  custom: {
    50: '#e5e281',
    500: '#d4d645',
    950: '#000000',
  },
}
SCSS
$custom: #d4d645;
$custom-light: #e5e281;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d645",
  "rgb": {
    "r": 212,
    "g": 214,
    "b": 69
  },
  "hsl": {
    "h": 60.828,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84893,
    "c": 0.1615,
    "h": 110.2
  },
  "luminance": 0.6252
}

Semantic roles & 50–950 ramp

primary
#D4D645
secondary
#36358A
accent
#41E743
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D645

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

Preview Lab → · Contrast checker → · Palette generator →

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