#D1B64F#D1B64F

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

Color values

HEX#D1B64F
RGBrgb(209, 182, 79)
HSLhsl(48, 59%, 56%)
HSVhsv(48, 62%, 82%)
CMYKcmyk(0%, 12.9%, 62.2%, 18%)
CIE-LABlab(74.56, -2.27, 54.62)
CIE-LCHlch(74.56, 54.67, 92.38°)
OKLaboklab(78% -0.0101 0.1252)
OKLCHoklch(78% 0.126 94.6)
XYZxyz(44.4357, 47.5779, 14.2385)
Luminance0.4758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B64F #4F6AD1
analogous
#D1754F #D1B64F #ABD14F
triadic
#D1B64F #4FD1B6 #B64FD1
tetradic
#D1B64F #4FD175 #4F6AD1 #D14FAB
square
#D1B64F #4FD175 #4F6AD1 #D14FAB
split-complementary
#D1B64F #4FABD1 #754FD1
monochromatic
#836F22 #B4982F #D1B64F #DECA80 #EADEB0

Accessibility & contrast

On white

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

On black

10.52
#D1B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B64F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B64F#FFFFFF#000000##000000
##D1B64F1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1b64f;
/* rgb */ color: rgb(209, 182, 79);
/* oklch */ color: oklch(78.0% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#e2cb84',
    500: '#d1b64f',
    950: '#000000',
  },
}
SCSS
$custom: #d1b64f;
$custom-light: #e2cb84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b64f",
  "rgb": {
    "r": 209,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 47.538,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.77995,
    "c": 0.12562,
    "h": 94.6
  },
  "luminance": 0.47576
}

Semantic roles & 50–950 ramp

primary
#D1B64F
secondary
#A3AED9
accent
#66E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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