#D1BD4C#D1BD4C

#D1BD4C is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.133 H 99.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D1BD4C
RGBrgb(209, 189, 76)
HSLhsl(51, 59%, 56%)
HSVhsv(51, 64%, 82%)
CMYKcmyk(0%, 9.6%, 63.6%, 18%)
CIE-LABlab(76.36, -6.11, 57.90)
CIE-LCHlch(76.36, 58.22, 96.03°)
OKLaboklab(79.41% -0.0214 0.1318)
OKLCHoklch(79.41% 0.133 99.2)
XYZxyz(45.7985, 50.4743, 14.1662)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BD4C #4C60D1
analogous
#D17A4C #D1BD4C #A3D14C
triadic
#D1BD4C #4CD1BD #BD4CD1
tetradic
#D1BD4C #4CD17A #4C60D1 #D14CA3
square
#D1BD4C #4CD17A #4C60D1 #D14CA3
split-complementary
#D1BD4C #4CA3D1 #7A4CD1
monochromatic
#817321 #B29E2E #D1BD4C #DECF7D #EAE1AD

Accessibility & contrast

On white

1.89
#D1BD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#D1BD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BD4C
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BD4C#FFFFFF#000000##000000
##D1BD4C1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83F
Deuteranopia (green-blind)
#D4C052
Tritanopia (blue-blind)
#E0B0A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d1bd4c;
/* rgb */ color: rgb(209, 189, 76);
/* oklch */ color: oklch(79.4% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#e2d083',
    500: '#d1bd4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1bd4c;
$custom-light: #e2d083;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bd4c",
  "rgb": {
    "r": 209,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 50.977,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79413,
    "c": 0.13348,
    "h": 99.2
  },
  "luminance": 0.50472
}

Semantic roles & 50–950 ramp

primary
#D1BD4C
secondary
#394589
accent
#5DE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16130B
muted
#84837E

Preview Lab

Preview with #D1BD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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