#D4D546#D4D546

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

Color values

HEX#D4D546
RGBrgb(212, 213, 70)
HSLhsl(60, 63%, 55%)
HSVhsv(60, 67%, 84%)
CMYKcmyk(0.5%, 0%, 67.1%, 16.5%)
CIE-LABlab(82.93, -17.34, 67.22)
CIE-LCHlch(82.93, 69.42, 104.47°)
OKLaboklab(84.69% -0.0541 0.1504)
OKLCHoklch(84.69% 0.16 109.8)
XYZxyz(52.0529, 62.0292, 15.0240)
Luminance0.6203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D546 #4746D5
analogous
#D58F46 #D4D546 #8CD546
triadic
#D4D546 #46D4D5 #D546D4
tetradic
#D4D546 #46D58F #4746D5 #D5468C
square
#D4D546 #46D58F #4746D5 #D5468C
split-complementary
#D4D546 #468CD5 #8F46D5
monochromatic
#82831E #B4B529 #D4D546 #E0E078 #EBECAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D546#FFFFFF#000000##000000
##D4D5461.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)
#E6CC30
Deuteranopia (green-blind)
#E7D150
Tritanopia (blue-blind)
#E3C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d546;
/* rgb */ color: rgb(212, 213, 70);
/* oklch */ color: oklch(84.7% 0.160 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e182',
    500: '#d4d546',
    950: '#000000',
  },
}
SCSS
$custom: #d4d546;
$custom-light: #e5e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d546",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 60.42,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84687,
    "c": 0.15984,
    "h": 109.8
  },
  "luminance": 0.62028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D546

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

Preview Lab → · Contrast checker → · Palette generator →

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