#D4C547#D4C547

#D4C547 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.144 H 102.5°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D4C547
RGBrgb(212, 197, 71)
HSLhsl(54, 62%, 55%)
HSVhsv(54, 67%, 83%)
CMYKcmyk(0%, 7.1%, 66.5%, 16.9%)
CIE-LABlab(78.69, -9.25, 62.51)
CIE-LCHlch(78.69, 63.19, 98.42°)
OKLaboklab(81.31% -0.0311 0.1407)
OKLCHoklch(81.31% 0.144 102.5)
XYZxyz(48.2569, 54.3865, 13.9157)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C547 #4756D4
analogous
#D47E47 #D4C547 #9CD447
triadic
#D4C547 #47D4C5 #C547D4
tetradic
#D4C547 #47D47E #4756D4 #D4479C
square
#D4C547 #47D47E #4756D4 #D4479C
split-complementary
#D4C547 #479CD4 #7E47D4
monochromatic
#82781E #B4A52A #D4C547 #E0D579 #EBE4AA

Accessibility & contrast

On white

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

On black

11.88
#D4C547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C547
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C547#FFFFFF#000000##000000
##D4C5471.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF36
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E4B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c547;
/* rgb */ color: rgb(212, 197, 71);
/* oklch */ color: oklch(81.3% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#e5d681',
    500: '#d4c547',
    950: '#000000',
  },
}
SCSS
$custom: #d4c547;
$custom-light: #e5d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c547",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 71
  },
  "hsl": {
    "h": 53.617,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.14405,
    "h": 102.5
  },
  "luminance": 0.54384
}

Semantic roles & 50–950 ramp

primary
#D4C547
secondary
#363F89
accent
#54E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C547

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

Preview Lab → · Contrast checker → · Palette generator →

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