#D6BA48#D6BA48

#D6BA48 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.2% C 0.135 H 95.3°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D6BA48
RGBrgb(214, 186, 72)
HSLhsl(48, 63%, 56%)
HSVhsv(48, 66%, 84%)
CMYKcmyk(0%, 13.1%, 66.4%, 16.1%)
CIE-LABlab(76.00, -2.67, 59.36)
CIE-LCHlch(76.00, 59.42, 92.57°)
OKLaboklab(79.22% -0.0123 0.1341)
OKLCHoklch(79.22% 0.135 95.3)
XYZxyz(46.4624, 49.8842, 13.3110)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6BA48 #4864D6
analogous
#D67348 #D6BA48 #ABD648
triadic
#D6BA48 #48D6BA #BA48D6
tetradic
#D6BA48 #48D673 #4864D6 #D648AB
square
#D6BA48 #48D673 #4864D6 #D648AB
split-complementary
#D6BA48 #48ABD6 #7348D6
monochromatic
#86711E #B89C29 #D6BA48 #E1CD7A #ECE0AC

Accessibility & contrast

On white

1.91
#D6BA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D6BA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6BA48
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6BA48#FFFFFF#000000##000000
##D6BA481.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63A
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#E6ACA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d6ba48;
/* rgb */ color: rgb(214, 186, 72);
/* oklch */ color: oklch(79.2% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#e6ce80',
    500: '#d6ba48',
    950: '#000000',
  },
}
SCSS
$custom: #d6ba48;
$custom-light: #e6ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#d6ba48",
  "rgb": {
    "r": 214,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 48.169,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79223,
    "c": 0.13465,
    "h": 95.3
  },
  "luminance": 0.49882
}

Semantic roles & 50–950 ramp

primary
#D6BA48
secondary
#A0ABDA
accent
#62E641
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D6BA48

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

Preview Lab → · Contrast checker → · Palette generator →

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