#D1C547#D1C547

#D1C547 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.144 H 103.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D1C547
RGBrgb(209, 197, 71)
HSLhsl(55, 60%, 55%)
HSVhsv(55, 66%, 82%)
CMYKcmyk(0%, 5.7%, 66%, 18%)
CIE-LABlab(78.43, -10.52, 62.16)
CIE-LCHlch(78.43, 63.05, 99.60°)
OKLaboklab(81.04% -0.0345 0.14)
OKLCHoklch(81.04% 0.144 103.9)
XYZxyz(47.3999, 53.9446, 13.8756)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C547 #4753D1
analogous
#D18047 #D1C547 #98D147
triadic
#D1C547 #47D1C5 #C547D1
tetradic
#D1C547 #47D180 #4753D1 #D14798
square
#D1C547 #47D180 #4753D1 #D14798
split-complementary
#D1C547 #4798D1 #8047D1
monochromatic
#7E7620 #AFA42C #D1C547 #DDD478 #E9E4A9

Accessibility & contrast

On white

1.78
#D1C547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D1C547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C547
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C547#FFFFFF#000000##000000
##D1C5471.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF36
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#E0B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c547;
/* rgb */ color: rgb(209, 197, 71);
/* oklch */ color: oklch(81.0% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#e2d681',
    500: '#d1c547',
    950: '#000000',
  },
}
SCSS
$custom: #d1c547;
$custom-light: #e2d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c547",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 71
  },
  "hsl": {
    "h": 54.783,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81044,
    "c": 0.14421,
    "h": 103.9
  },
  "luminance": 0.53943
}

Semantic roles & 50–950 ramp

primary
#D1C547
secondary
#373D86
accent
#52E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C547

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

Preview Lab → · Contrast checker → · Palette generator →

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