#D1B147#D1B147

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

Color values

HEX#D1B147
RGBrgb(209, 177, 71)
HSLhsl(46, 60%, 55%)
HSVhsv(46, 66%, 82%)
CMYKcmyk(0%, 15.3%, 66%, 18%)
CIE-LABlab(73.19, -0.15, 56.68)
CIE-LCHlch(73.19, 56.68, 90.15°)
OKLaboklab(76.89% -0.0049 0.1284)
OKLCHoklch(76.89% 0.128 92.2)
XYZxyz(43.1561, 45.4569, 12.4610)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B147 #4767D1
analogous
#D16C47 #D1B147 #ACD147
triadic
#D1B147 #47D1B1 #B147D1
tetradic
#D1B147 #47D16C #4767D1 #D147AC
square
#D1B147 #47D16C #4767D1 #D147AC
split-complementary
#D1B147 #47ACD1 #6C47D1
monochromatic
#7E6820 #AF912C #D1B147 #DDC678 #E9DBA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B147#FFFFFF#000000##000000
##D1B1471.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)
#C3AE3A
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#E1A39B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #d1b147;
/* rgb */ color: rgb(209, 177, 71);
/* oklch */ color: oklch(76.9% 0.128 92.2);
Tailwind
colors: {
  custom: {
    50: '#e3c87f',
    500: '#d1b147',
    950: '#000000',
  },
}
SCSS
$custom: #d1b147;
$custom-light: #e3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b147",
  "rgb": {
    "r": 209,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 46.087,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.12849,
    "h": 92.2
  },
  "luminance": 0.45455
}

Semantic roles & 50–950 ramp

primary
#D1B147
secondary
#9DAAD7
accent
#69E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B147

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

Preview Lab → · Contrast checker → · Palette generator →

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