#D6C348#D6C348

#D6C348 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.142 H 100.4°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D6C348
RGBrgb(214, 195, 72)
HSLhsl(52, 63%, 56%)
HSVhsv(52, 66%, 84%)
CMYKcmyk(0%, 8.9%, 66.4%, 16.1%)
CIE-LABlab(78.34, -7.32, 61.80)
CIE-LCHlch(78.34, 62.24, 96.76°)
OKLaboklab(81.08% -0.0256 0.1393)
OKLCHoklch(81.08% 0.142 100.4)
XYZxyz(48.4184, 53.7964, 13.9630)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C348 #485BD6
analogous
#D67C48 #D6C348 #A2D648
triadic
#D6C348 #48D6C3 #C348D6
tetradic
#D6C348 #48D67C #485BD6 #D648A2
square
#D6C348 #48D67C #485BD6 #D648A2
split-complementary
#D6C348 #48A2D6 #7C48D6
monochromatic
#86781E #B8A529 #D6C348 #E1D37A #ECE4AC

Accessibility & contrast

On white

1.79
#D6C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D6C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C348
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C348#FFFFFF#000000##000000
##D6C3481.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6c348;
/* rgb */ color: rgb(214, 195, 72);
/* oklch */ color: oklch(81.1% 0.142 100.4);
Tailwind
colors: {
  custom: {
    50: '#e6d481',
    500: '#d6c348',
    950: '#000000',
  },
}
SCSS
$custom: #d6c348;
$custom-light: #e6d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c348",
  "rgb": {
    "r": 214,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 51.972,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81081,
    "c": 0.1416,
    "h": 100.4
  },
  "luminance": 0.53794
}

Semantic roles & 50–950 ramp

primary
#D6C348
secondary
#36428C
accent
#57E641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C348

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

Preview Lab → · Contrast checker → · Palette generator →

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