#D4C543#D4C543

#D4C543 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.147 H 102.7°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D4C543
RGBrgb(212, 197, 67)
HSLhsl(54, 63%, 55%)
HSVhsv(54, 68%, 83%)
CMYKcmyk(0%, 7.1%, 68.4%, 16.9%)
CIE-LABlab(78.66, -9.47, 64.06)
CIE-LCHlch(78.66, 64.76, 98.41°)
OKLaboklab(81.28% -0.0322 0.1433)
OKLCHoklch(81.28% 0.147 102.7)
XYZxyz(48.1328, 54.3368, 13.2618)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C543 #4352D4
analogous
#D47C43 #D4C543 #9BD443
triadic
#D4C543 #43D4C5 #C543D4
tetradic
#D4C543 #43D47C #4352D4 #D4439B
square
#D4C543 #43D47C #4352D4 #D4439B
split-complementary
#D4C543 #439BD4 #7C43D4
monochromatic
#7F751D #B1A329 #D4C543 #DFD475 #EBE4A7

Accessibility & contrast

On white

1.77
#D4C543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D4C543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C543
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C543#FFFFFF#000000##000000
##D4C5431.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF30
Deuteranopia (green-blind)
#DBC64B
Tritanopia (blue-blind)
#E4B7AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c543;
/* rgb */ color: rgb(212, 197, 67);
/* oklch */ color: oklch(81.3% 0.147 102.7);
Tailwind
colors: {
  custom: {
    50: '#e5d67e',
    500: '#d4c543',
    950: '#000000',
  },
}
SCSS
$custom: #d4c543;
$custom-light: #e5d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c543",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 53.793,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81278,
    "c": 0.14684,
    "h": 102.7
  },
  "luminance": 0.54335
}

Semantic roles & 50–950 ramp

primary
#D4C543
secondary
#343D87
accent
#53E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C543

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

Preview Lab → · Contrast checker → · Palette generator →

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