#D1B64C#D1B64C

#D1B64C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 78.0% C 0.128 H 94.9°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D1B64C
RGBrgb(209, 182, 76)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 64%, 82%)
CMYKcmyk(0%, 12.9%, 63.6%, 18%)
CIE-LABlab(74.53, -2.47, 55.93)
CIE-LCHlch(74.53, 55.98, 92.53°)
OKLaboklab(77.96% -0.011 0.1276)
OKLCHoklch(77.96% 0.128 94.9)
XYZxyz(44.3290, 47.5352, 13.6764)
Luminance0.4753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B64C #4C67D1
analogous
#D1734C #D1B64C #A9D14C
triadic
#D1B64C #4CD1B6 #B64CD1
tetradic
#D1B64C #4CD173 #4C67D1 #D14CA9
square
#D1B64C #4CD173 #4C67D1 #D14CA9
split-complementary
#D1B64C #4CA9D1 #734CD1
monochromatic
#816E21 #B2972E #D1B64C #DECA7D #EADEAD

Accessibility & contrast

On white

2.00
#D1B64C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#D1B64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B64C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B64C#FFFFFF#000000##000000
##D1B64C1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B240
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#E1A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b64c;
/* rgb */ color: rgb(209, 182, 76);
/* oklch */ color: oklch(78.0% 0.128 94.9);
Tailwind
colors: {
  custom: {
    50: '#e2cb82',
    500: '#d1b64c',
    950: '#000000',
  },
}
SCSS
$custom: #d1b64c;
$custom-light: #e2cb82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b64c",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 76
  },
  "hsl": {
    "h": 47.82,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77965,
    "c": 0.12804,
    "h": 94.9
  },
  "luminance": 0.47533
}

Semantic roles & 50–950 ramp

primary
#D1B64C
secondary
#A1ACD8
accent
#65E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B64C

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

Preview Lab → · Contrast checker → · Palette generator →

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