#D1B847#D1B847

#D1B847 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.133 H 96.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D1B847
RGBrgb(209, 184, 71)
HSLhsl(49, 60%, 55%)
HSVhsv(49, 66%, 82%)
CMYKcmyk(0%, 12%, 66%, 18%)
CIE-LABlab(75.01, -3.82, 58.60)
CIE-LCHlch(75.01, 58.72, 93.73°)
OKLaboklab(78.33% -0.0155 0.1325)
OKLCHoklch(78.33% 0.133 96.7)
XYZxyz(44.5744, 48.2934, 12.9337)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B847 #4760D1
analogous
#D17347 #D1B847 #A5D147
triadic
#D1B847 #47D1B8 #B847D1
tetradic
#D1B847 #47D173 #4760D1 #D147A5
square
#D1B847 #47D173 #4760D1 #D147A5
split-complementary
#D1B847 #47A5D1 #7347D1
monochromatic
#7E6D20 #AF972C #D1B847 #DDCB78 #E9DEA9

Accessibility & contrast

On white

1.97
#D1B847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D1B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B847
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B847#FFFFFF#000000##000000
##D1B8471.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#E1ABA0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b847;
/* rgb */ color: rgb(209, 184, 71);
/* oklch */ color: oklch(78.3% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e3cd80',
    500: '#d1b847',
    950: '#000000',
  },
}
SCSS
$custom: #d1b847;
$custom-light: #e3cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b847",
  "rgb": {
    "r": 209,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 49.13,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7833,
    "c": 0.13337,
    "h": 96.7
  },
  "luminance": 0.48291
}

Semantic roles & 50–950 ramp

primary
#D1B847
secondary
#9DA7D7
accent
#61E345
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D1B847

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

Preview Lab → · Contrast checker → · Palette generator →

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