#D1B64D#D1B64D

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

Color values

HEX#D1B64D
RGBrgb(209, 182, 77)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 63%, 82%)
CMYKcmyk(0%, 12.9%, 63.2%, 18%)
CIE-LABlab(74.54, -2.40, 55.49)
CIE-LCHlch(74.54, 55.55, 92.48°)
OKLaboklab(77.98% -0.0107 0.1268)
OKLCHoklch(77.98% 0.127 94.8)
XYZxyz(44.3640, 47.5493, 13.8609)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B64D #4D68D1
analogous
#D1744D #D1B64D #AAD14D
triadic
#D1B64D #4DD1B6 #B64DD1
tetradic
#D1B64D #4DD174 #4D68D1 #D14DAA
square
#D1B64D #4DD174 #4D68D1 #D14DAA
split-complementary
#D1B64D #4DAAD1 #744DD1
monochromatic
#826E22 #B3982E #D1B64D #DECA7E #EADEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B64D#FFFFFF#000000##000000
##D1B64D1.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)
#C7B341
Deuteranopia (green-blind)
#CEBB52
Tritanopia (blue-blind)
#E1A99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d1b64d;
/* rgb */ color: rgb(209, 182, 77);
/* oklch */ color: oklch(78.0% 0.127 94.8);
Tailwind
colors: {
  custom: {
    50: '#e2cb83',
    500: '#d1b64d',
    950: '#000000',
  },
}
SCSS
$custom: #d1b64d;
$custom-light: #e2cb83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b64d",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 47.727,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77975,
    "c": 0.12724,
    "h": 94.8
  },
  "luminance": 0.47547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B64D

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

Preview Lab → · Contrast checker → · Palette generator →

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