#D9B751#D9B751

#D9B751 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 79.0% C 0.126 H 90.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#D9B751
RGBrgb(217, 183, 81)
HSLhsl(45, 64%, 58%)
HSVhsv(45, 63%, 85%)
CMYKcmyk(0%, 15.7%, 62.7%, 14.9%)
CIE-LABlab(75.59, 0.73, 55.06)
CIE-LCHlch(75.59, 55.07, 89.24°)
OKLaboklab(78.99% -0.0017 0.1262)
OKLCHoklch(78.99% 0.126 90.8)
XYZxyz(47.0362, 49.2154, 14.8050)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B751 #5173D9
analogous
#D97351 #D9B751 #B7D951
triadic
#D9B751 #51D9B7 #B751D9
tetradic
#D9B751 #51D973 #5173D9 #D951B7
square
#D9B751 #51D973 #5173D9 #D951B7
split-complementary
#D9B751 #51B7D9 #7351D9
monochromatic
#90741F #C29C2A #D9B751 #E4CC83 #EFE1B5

Accessibility & contrast

On white

1.94
#D9B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#D9B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B751
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B751#FFFFFF#000000##000000
##D9B7511.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B546
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#EAA9A1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b751;
/* rgb */ color: rgb(217, 183, 81);
/* oklch */ color: oklch(79.0% 0.126 90.8);
Tailwind
colors: {
  custom: {
    50: '#e8cc86',
    500: '#d9b751',
    950: '#000000',
  },
}
SCSS
$custom: #d9b751;
$custom-light: #e8cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b751",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78988,
    "c": 0.12623,
    "h": 90.8
  },
  "luminance": 0.49213
}

Semantic roles & 50–950 ramp

primary
#D9B751
secondary
#A8B5DE
accent
#6AE741
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D9B751

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

Preview Lab → · Contrast checker → · Palette generator →

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