#D1B64E#D1B64E

#D1B64E is a light, vivid yellow. Relative luminance 0.476; OKLCH L 78.0% C 0.126 H 94.7°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D1B64E
RGBrgb(209, 182, 78)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.9%, 62.7%, 18%)
CIE-LABlab(74.55, -2.34, 55.06)
CIE-LCHlch(74.55, 55.11, 92.43°)
OKLaboklab(77.99% -0.0104 0.126)
OKLCHoklch(77.99% 0.126 94.7)
XYZxyz(44.3996, 47.5635, 14.0483)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B64E #4E69D1
analogous
#D1754E #D1B64E #AAD14E
triadic
#D1B64E #4ED1B6 #B64ED1
tetradic
#D1B64E #4ED175 #4E69D1 #D14EAA
square
#D1B64E #4ED175 #4E69D1 #D14EAA
split-complementary
#D1B64E #4EAAD1 #754ED1
monochromatic
#836F22 #B3982F #D1B64E #DECA7F #EADEAF

Accessibility & contrast

On white

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

On black

10.51
#D1B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B64E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B64E#FFFFFF#000000##000000
##D1B64E1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B342
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#E1A9A0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b64e;
/* rgb */ color: rgb(209, 182, 78);
/* oklch */ color: oklch(78.0% 0.126 94.7);
Tailwind
colors: {
  custom: {
    50: '#e2cb84',
    500: '#d1b64e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b64e;
$custom-light: #e2cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b64e",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 47.634,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.77985,
    "c": 0.12644,
    "h": 94.7
  },
  "luminance": 0.47561
}

Semantic roles & 50–950 ramp

primary
#D1B64E
secondary
#A2AED8
accent
#66E246
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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