#D4C539#D4C539

#D4C539 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.153 H 103.0°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D4C539
RGBrgb(212, 197, 57)
HSLhsl(54, 64%, 53%)
HSVhsv(54, 73%, 83%)
CMYKcmyk(0%, 7.1%, 73.1%, 16.9%)
CIE-LABlab(78.59, -9.95, 67.70)
CIE-LCHlch(78.59, 68.42, 98.36°)
OKLaboklab(81.21% -0.0345 0.1492)
OKLCHoklch(81.21% 0.153 103)
XYZxyz(47.8583, 54.2270, 11.8161)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C539 #3948D4
analogous
#D47839 #D4C539 #95D439
triadic
#D4C539 #39D4C5 #C539D4
tetradic
#D4C539 #39D478 #3948D4 #D43995
square
#D4C539 #39D478 #3948D4 #D43995
split-complementary
#D4C539 #3995D4 #7839D4
monochromatic
#786F1A #AB9E25 #D4C539 #DFD46B #EAE29E

Accessibility & contrast

On white

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

On black

11.85
#D4C539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C539
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C539#FFFFFF#000000##000000
##D4C5391.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1F
Deuteranopia (green-blind)
#DCC643
Tritanopia (blue-blind)
#E4B7AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c539;
/* rgb */ color: rgb(212, 197, 57);
/* oklch */ color: oklch(81.2% 0.153 103.0);
Tailwind
colors: {
  custom: {
    50: '#e5d679',
    500: '#d4c539',
    950: '#000000',
  },
}
SCSS
$custom: #d4c539;
$custom-light: #e5d679;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c539",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 54.194,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.15313,
    "h": 103
  },
  "luminance": 0.54225
}

Semantic roles & 50–950 ramp

primary
#D4C539
secondary
#313880
accent
#51E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C539

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

Preview Lab → · Contrast checker → · Palette generator →

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