#D1BC42#D1BC42

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

Color values

HEX#D1BC42
RGBrgb(209, 188, 66)
HSLhsl(51, 61%, 54%)
HSVhsv(51, 68%, 82%)
CMYKcmyk(0%, 10%, 68.4%, 18%)
CIE-LABlab(76.02, -6.18, 61.70)
CIE-LCHlch(76.02, 62.01, 95.72°)
OKLaboklab(79.12% -0.0227 0.1382)
OKLCHoklch(79.12% 0.14 99.3)
XYZxyz(45.2631, 49.9172, 12.4040)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BC42 #4257D1
analogous
#D17542 #D1BC42 #9FD142
triadic
#D1BC42 #42D1BC #BC42D1
tetradic
#D1BC42 #42D175 #4257D1 #D1429F
square
#D1BC42 #42D175 #4257D1 #D1429F
split-complementary
#D1BC42 #429FD1 #7542D1
monochromatic
#7B6D1E #AC992A #D1BC42 #DDCD73 #E9DFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1BC42#FFFFFF#000000##000000
##D1BC421.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)
#CEB731
Deuteranopia (green-blind)
#D3BF49
Tritanopia (blue-blind)
#E1AFA3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d1bc42;
/* rgb */ color: rgb(209, 188, 66);
/* oklch */ color: oklch(79.1% 0.140 99.3);
Tailwind
colors: {
  custom: {
    50: '#e3cf7d',
    500: '#d1bc42',
    950: '#000000',
  },
}
SCSS
$custom: #d1bc42;
$custom-light: #e3cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bc42",
  "rgb": {
    "r": 209,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 51.189,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79117,
    "c": 0.14006,
    "h": 99.3
  },
  "luminance": 0.49915
}

Semantic roles & 50–950 ramp

primary
#D1BC42
secondary
#99A2D6
accent
#5BE444
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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