#D1B84E#D1B84E

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

Color values

HEX#D1B84E
RGBrgb(209, 184, 78)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 12%, 62.7%, 18%)
CIE-LABlab(75.07, -3.39, 55.63)
CIE-LCHlch(75.07, 55.73, 93.48°)
OKLaboklab(78.4% -0.0134 0.1272)
OKLCHoklch(78.4% 0.128 96)
XYZxyz(44.8121, 48.3885, 14.1858)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B84E #4E67D1
analogous
#D1774E #D1B84E #A8D14E
triadic
#D1B84E #4ED1B8 #B84ED1
tetradic
#D1B84E #4ED177 #4E67D1 #D14EA8
square
#D1B84E #4ED177 #4E67D1 #D14EA8
split-complementary
#D1B84E #4EA8D1 #774ED1
monochromatic
#837022 #B39A2F #D1B84E #DECB7F #EADFAF

Accessibility & contrast

On white

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

On black

10.68
#D1B84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B84E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B84E#FFFFFF#000000##000000
##D1B84E1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b84e;
/* rgb */ color: rgb(209, 184, 78);
/* oklch */ color: oklch(78.4% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e2cd84',
    500: '#d1b84e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b84e;
$custom-light: #e2cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b84e",
  "rgb": {
    "r": 209,
    "g": 184,
    "b": 78
  },
  "hsl": {
    "h": 48.55,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78397,
    "c": 0.12792,
    "h": 96
  },
  "luminance": 0.48386
}

Semantic roles & 50–950 ramp

primary
#D1B84E
secondary
#A2ADD8
accent
#64E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B84E

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

Preview Lab → · Contrast checker → · Palette generator →

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