#D1B94E#D1B94E

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

Color values

HEX#D1B94E
RGBrgb(209, 185, 78)
HSLhsl(49, 59%, 56%)
HSVhsv(49, 63%, 82%)
CMYKcmyk(0%, 11.5%, 62.7%, 18%)
CIE-LABlab(75.33, -3.91, 55.91)
CIE-LCHlch(75.33, 56.05, 94.00°)
OKLaboklab(78.6% -0.0149 0.1278)
OKLCHoklch(78.6% 0.129 96.6)
XYZxyz(45.0206, 48.8054, 14.2553)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B94E #4E66D1
analogous
#D1784E #D1B94E #A8D14E
triadic
#D1B94E #4ED1B9 #B94ED1
tetradic
#D1B94E #4ED178 #4E66D1 #D14EA8
square
#D1B94E #4ED178 #4E66D1 #D14EA8
split-complementary
#D1B94E #4EA8D1 #784ED1
monochromatic
#837122 #B39B2F #D1B94E #DECC7F #EADFAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1B94E#FFFFFF#000000##000000
##D1B94E1.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)
#CAB542
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#E1ACA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d1b94e;
/* rgb */ color: rgb(209, 185, 78);
/* oklch */ color: oklch(78.6% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#e2cd84',
    500: '#d1b94e',
    950: '#000000',
  },
}
SCSS
$custom: #d1b94e;
$custom-light: #e2cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b94e",
  "rgb": {
    "r": 209,
    "g": 185,
    "b": 78
  },
  "hsl": {
    "h": 49.008,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78603,
    "c": 0.12868,
    "h": 96.6
  },
  "luminance": 0.48803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1B94E

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

Preview Lab → · Contrast checker → · Palette generator →

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