#D1B647#D1B647

#D1B647 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.132 H 95.4°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D1B647
RGBrgb(209, 182, 71)
HSLhsl(48, 60%, 55%)
HSVhsv(48, 66%, 82%)
CMYKcmyk(0%, 12.9%, 66%, 18%)
CIE-LABlab(74.49, -2.77, 58.05)
CIE-LCHlch(74.49, 58.12, 92.73°)
OKLaboklab(77.92% -0.0125 0.1313)
OKLCHoklch(77.92% 0.132 95.4)
XYZxyz(44.1619, 47.4684, 12.7962)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B647 #4762D1
analogous
#D17147 #D1B647 #A7D147
triadic
#D1B647 #47D1B6 #B647D1
tetradic
#D1B647 #47D171 #4762D1 #D147A7
square
#D1B647 #47D171 #4762D1 #D147A7
split-complementary
#D1B647 #47A7D1 #7147D1
monochromatic
#7E6C20 #AF952C #D1B647 #DDC978 #E9DDA9

Accessibility & contrast

On white

2.00
#D1B647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#D1B647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B647
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B647#FFFFFF#000000##000000
##D1B6471.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B239
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#E1A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b647;
/* rgb */ color: rgb(209, 182, 71);
/* oklch */ color: oklch(77.9% 0.132 95.4);
Tailwind
colors: {
  custom: {
    50: '#e3cb7f',
    500: '#d1b647',
    950: '#000000',
  },
}
SCSS
$custom: #d1b647;
$custom-light: #e3cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b647",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 71
  },
  "hsl": {
    "h": 48.261,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77918,
    "c": 0.1319,
    "h": 95.4
  },
  "luminance": 0.47466
}

Semantic roles & 50–950 ramp

primary
#D1B647
secondary
#9DA8D7
accent
#64E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B647

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

Preview Lab → · Contrast checker → · Palette generator →

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