#D4D547#D4D547

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

Color values

HEX#D4D547
RGBrgb(212, 213, 71)
HSLhsl(60, 63%, 56%)
HSVhsv(60, 67%, 84%)
CMYKcmyk(0.5%, 0%, 66.7%, 16.5%)
CIE-LABlab(82.94, -17.29, 66.85)
CIE-LCHlch(82.94, 69.05, 104.50°)
OKLaboklab(84.7% -0.0538 0.1498)
OKLCHoklch(84.7% 0.159 109.8)
XYZxyz(52.0847, 62.0419, 15.1916)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D547 #4847D5
analogous
#D58F47 #D4D547 #8DD547
triadic
#D4D547 #47D4D5 #D547D4
tetradic
#D4D547 #47D58F #4847D5 #D5478D
square
#D4D547 #47D58F #4847D5 #D5478D
split-complementary
#D4D547 #478DD5 #8F47D5
monochromatic
#83841E #B4B529 #D4D547 #E0E079 #EBECAB

Accessibility & contrast

On white

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

On black

13.41
#D4D547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D547
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D547#FFFFFF#000000##000000
##D4D5471.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC32
Deuteranopia (green-blind)
#E7D151
Tritanopia (blue-blind)
#E2C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d547;
/* rgb */ color: rgb(212, 213, 71);
/* oklch */ color: oklch(84.7% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e182',
    500: '#d4d547',
    950: '#000000',
  },
}
SCSS
$custom: #d4d547;
$custom-light: #e5e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d547",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 71
  },
  "hsl": {
    "h": 60.423,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84695,
    "c": 0.15917,
    "h": 109.8
  },
  "luminance": 0.6204
}

Semantic roles & 50–950 ramp

primary
#D4D547
secondary
#36368A
accent
#42E643
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D547

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

Preview Lab → · Contrast checker → · Palette generator →

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