#D1B84D#D1B84D

#D1B84D is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.129 H 96.1°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D1B84D
RGBrgb(209, 184, 77)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 12%, 63.2%, 18%)
CIE-LABlab(75.06, -3.45, 56.06)
CIE-LCHlch(75.06, 56.17, 93.52°)
OKLaboklab(78.39% -0.0137 0.128)
OKLCHoklch(78.39% 0.129 96.1)
XYZxyz(44.7765, 48.3743, 13.9984)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B84D #4D66D1
analogous
#D1764D #D1B84D #A8D14D
triadic
#D1B84D #4DD1B8 #B84DD1
tetradic
#D1B84D #4DD176 #4D66D1 #D14DA8
square
#D1B84D #4DD176 #4D66D1 #D14DA8
split-complementary
#D1B84D #4DA8D1 #764DD1
monochromatic
#827022 #B39A2E #D1B84D #DECB7E #EADFAE

Accessibility & contrast

On white

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

On black

10.67
#D1B84D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B84D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B84D#FFFFFF#000000##000000
##D1B84D1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B441
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#E1ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b84d;
/* rgb */ color: rgb(209, 184, 77);
/* oklch */ color: oklch(78.4% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#e2cd83',
    500: '#d1b84d',
    950: '#000000',
  },
}
SCSS
$custom: #d1b84d;
$custom-light: #e2cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b84d",
  "rgb": {
    "r": 209,
    "g": 184,
    "b": 77
  },
  "hsl": {
    "h": 48.636,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.12872,
    "h": 96.1
  },
  "luminance": 0.48372
}

Semantic roles & 50–950 ramp

primary
#D1B84D
secondary
#A2ACD8
accent
#63E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B84D

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

Preview Lab → · Contrast checker → · Palette generator →

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