#D6C548#D6C548

#D6C548 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.5% C 0.143 H 101.5°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D6C548
RGBrgb(214, 197, 72)
HSLhsl(53, 63%, 56%)
HSVhsv(53, 66%, 84%)
CMYKcmyk(0%, 7.9%, 66.4%, 16.1%)
CIE-LABlab(78.87, -8.35, 62.35)
CIE-LCHlch(78.87, 62.90, 97.63°)
OKLaboklab(81.5% -0.0286 0.1404)
OKLCHoklch(81.5% 0.143 101.5)
XYZxyz(48.8696, 54.6986, 14.1133)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C548 #4859D6
analogous
#D67E48 #D6C548 #A0D648
triadic
#D6C548 #48D6C5 #C548D6
tetradic
#D6C548 #48D67E #4859D6 #D648A0
square
#D6C548 #48D67E #4859D6 #D648A0
split-complementary
#D6C548 #48A0D6 #7E48D6
monochromatic
#86791E #B8A729 #D6C548 #E1D57A #ECE5AC

Accessibility & contrast

On white

1.76
#D6C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D6C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C548
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C548#FFFFFF#000000##000000
##D6C5481.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#E6B8AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d6c548;
/* rgb */ color: rgb(214, 197, 72);
/* oklch */ color: oklch(81.5% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e6d681',
    500: '#d6c548',
    950: '#000000',
  },
}
SCSS
$custom: #d6c548;
$custom-light: #e6d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c548",
  "rgb": {
    "r": 214,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 52.817,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.14328,
    "h": 101.5
  },
  "luminance": 0.54697
}

Semantic roles & 50–950 ramp

primary
#D6C548
secondary
#36408C
accent
#55E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C548

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

Preview Lab → · Contrast checker → · Palette generator →

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