#D1BC39#D1BC39

#D1BC39 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.0% C 0.146 H 99.9°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#D1BC39
RGBrgb(209, 188, 57)
HSLhsl(52, 62%, 52%)
HSVhsv(52, 73%, 82%)
CMYKcmyk(0%, 10%, 72.7%, 18%)
CIE-LABlab(75.96, -6.62, 65.08)
CIE-LCHlch(75.96, 65.41, 95.81°)
OKLaboklab(79.05% -0.025 0.1438)
OKLCHoklch(79.05% 0.146 99.9)
XYZxyz(45.0184, 49.8193, 11.1149)
Luminance0.4982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1BC39 #394ED1
analogous
#D17039 #D1BC39 #9AD139
triadic
#D1BC39 #39D1BC #BC39D1
tetradic
#D1BC39 #39D170 #394ED1 #D1399A
square
#D1BC39 #39D170 #394ED1 #D1399A
split-complementary
#D1BC39 #399AD1 #7039D1
monochromatic
#75681B #A69527 #D1BC39 #DDCD6B #E8DE9C

Accessibility & contrast

On white

1.92
#D1BC39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#D1BC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1BC39
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1BC39#FFFFFF#000000##000000
##D1BC391.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB722
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#E1AEA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d1bc39;
/* rgb */ color: rgb(209, 188, 57);
/* oklch */ color: oklch(79.0% 0.146 99.9);
Tailwind
colors: {
  custom: {
    50: '#e3cf78',
    500: '#d1bc39',
    950: '#000000',
  },
}
SCSS
$custom: #d1bc39;
$custom-light: #e3cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#d1bc39",
  "rgb": {
    "r": 209,
    "g": 188,
    "b": 57
  },
  "hsl": {
    "h": 51.711,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7905,
    "c": 0.1459,
    "h": 99.9
  },
  "luminance": 0.49817
}

Semantic roles & 50–950 ramp

primary
#D1BC39
secondary
#929BD4
accent
#59E542
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #D1BC39

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

Preview Lab → · Contrast checker → · Palette generator →

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