#D1C548#D1C548

#D1C548 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.143 H 103.8°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D1C548
RGBrgb(209, 197, 72)
HSLhsl(55, 60%, 55%)
HSVhsv(55, 66%, 82%)
CMYKcmyk(0%, 5.7%, 65.6%, 18%)
CIE-LABlab(78.44, -10.46, 61.77)
CIE-LCHlch(78.44, 62.65, 99.61°)
OKLaboklab(81.05% -0.0343 0.1393)
OKLCHoklch(81.05% 0.143 103.8)
XYZxyz(47.4323, 53.9575, 14.0460)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C548 #4854D1
analogous
#D18148 #D1C548 #98D148
triadic
#D1C548 #48D1C5 #C548D1
tetradic
#D1C548 #48D181 #4854D1 #D14898
square
#D1C548 #48D181 #4854D1 #D14898
split-complementary
#D1C548 #4898D1 #8148D1
monochromatic
#7F7620 #B0A42C #D1C548 #DDD579 #EAE4AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C548#FFFFFF#000000##000000
##D1C5481.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)
#D6BF37
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E0B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c548;
/* rgb */ color: rgb(209, 197, 72);
/* oklch */ color: oklch(81.1% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e2d681',
    500: '#d1c548',
    950: '#000000',
  },
}
SCSS
$custom: #d1c548;
$custom-light: #e2d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c548",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 54.745,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81052,
    "c": 0.14347,
    "h": 103.8
  },
  "luminance": 0.53956
}

Semantic roles & 50–950 ramp

primary
#D1C548
secondary
#373E86
accent
#53E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C548

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

Preview Lab → · Contrast checker → · Palette generator →

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