#D1B84B#D1B84B

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

Color values

HEX#D1B84B
RGBrgb(209, 184, 75)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 64%, 82%)
CMYKcmyk(0%, 12%, 64.1%, 18%)
CIE-LABlab(75.04, -3.58, 56.92)
CIE-LCHlch(75.04, 57.03, 93.60°)
OKLaboklab(78.37% -0.0143 0.1295)
OKLCHoklch(78.37% 0.13 96.3)
XYZxyz(44.7070, 48.3465, 13.6322)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B84B #4B64D1
analogous
#D1754B #D1B84B #A7D14B
triadic
#D1B84B #4BD1B8 #B84BD1
tetradic
#D1B84B #4BD175 #4B64D1 #D14BA7
square
#D1B84B #4BD175 #4B64D1 #D14BA7
split-complementary
#D1B84B #4BA7D1 #754BD1
monochromatic
#816F21 #B1992D #D1B84B #DDCB7C #EADEAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B84B#FFFFFF#000000##000000
##D1B84B1.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)
#C9B43E
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#E1ABA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b84b;
/* rgb */ color: rgb(209, 184, 75);
/* oklch */ color: oklch(78.4% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e2cd82',
    500: '#d1b84b',
    950: '#000000',
  },
}
SCSS
$custom: #d1b84b;
$custom-light: #e2cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b84b",
  "rgb": {
    "r": 209,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 48.806,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78367,
    "c": 0.13031,
    "h": 96.3
  },
  "luminance": 0.48344
}

Semantic roles & 50–950 ramp

primary
#D1B84B
secondary
#A0AAD8
accent
#63E245
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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