#D1B146#D1B146

#D1B146 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.129 H 92.3°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#D1B146
RGBrgb(209, 177, 70)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 67%, 82%)
CMYKcmyk(0%, 15.3%, 66.5%, 18%)
CIE-LABlab(73.18, -0.20, 57.10)
CIE-LCHlch(73.18, 57.10, 90.21°)
OKLaboklab(76.88% -0.0052 0.1291)
OKLCHoklch(76.88% 0.129 92.3)
XYZxyz(43.1243, 45.4442, 12.2933)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B146 #4666D1
analogous
#D16C46 #D1B146 #ACD146
triadic
#D1B146 #46D1B1 #B146D1
tetradic
#D1B146 #46D16C #4666D1 #D146AC
square
#D1B146 #46D16C #4666D1 #D146AC
split-complementary
#D1B146 #46ACD1 #6C46D1
monochromatic
#7D681F #AE902B #D1B146 #DDC677 #E9DAA8

Accessibility & contrast

On white

2.08
#D1B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#D1B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B146
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B146#FFFFFF#000000##000000
##D1B1461.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#E1A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b146;
/* rgb */ color: rgb(209, 177, 70);
/* oklch */ color: oklch(76.9% 0.129 92.3);
Tailwind
colors: {
  custom: {
    50: '#e3c87e',
    500: '#d1b146',
    950: '#000000',
  },
}
SCSS
$custom: #d1b146;
$custom-light: #e3c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b146",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 46.187,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76884,
    "c": 0.12924,
    "h": 92.3
  },
  "luminance": 0.45442
}

Semantic roles & 50–950 ramp

primary
#D1B146
secondary
#9CAAD7
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B146

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

Preview Lab → · Contrast checker → · Palette generator →

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