#D1B94D#D1B94D

#D1B94D is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.6% C 0.129 H 96.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#D1B94D
RGBrgb(209, 185, 77)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11.5%, 63.2%, 18%)
CIE-LABlab(75.32, -3.97, 56.34)
CIE-LCHlch(75.32, 56.48, 94.03°)
OKLaboklab(78.59% -0.0152 0.1286)
OKLCHoklch(78.59% 0.129 96.7)
XYZxyz(44.9850, 48.7912, 14.0679)
Luminance0.4879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B94D #4D65D1
analogous
#D1774D #D1B94D #A7D14D
triadic
#D1B94D #4DD1B9 #B94DD1
tetradic
#D1B94D #4DD177 #4D65D1 #D14DA7
square
#D1B94D #4DD177 #4D65D1 #D14DA7
split-complementary
#D1B94D #4DA7D1 #774DD1
monochromatic
#827022 #B39B2E #D1B94D #DECC7E #EADFAE

Accessibility & contrast

On white

1.95
#D1B94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#D1B94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B94D
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B94D#FFFFFF#000000##000000
##D1B94D1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB541
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#E1ACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b94d;
/* rgb */ color: rgb(209, 185, 77);
/* oklch */ color: oklch(78.6% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#e2cd83',
    500: '#d1b94d',
    950: '#000000',
  },
}
SCSS
$custom: #d1b94d;
$custom-light: #e2cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b94d",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 49.091,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78593,
    "c": 0.12948,
    "h": 96.7
  },
  "luminance": 0.48789
}

Semantic roles & 50–950 ramp

primary
#D1B94D
secondary
#A2ACD8
accent
#62E246
background
#FEFCF8
surface
#FDF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D1B94D

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

Preview Lab → · Contrast checker → · Palette generator →

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