#D3B951#D3B951

#D3B951 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.126 H 95.3°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D3B951
RGBrgb(211, 185, 81)
HSLhsl(48, 60%, 57%)
HSVhsv(48, 62%, 83%)
CMYKcmyk(0%, 12.3%, 61.6%, 17.3%)
CIE-LABlab(75.54, -2.86, 54.85)
CIE-LCHlch(75.54, 54.93, 92.99°)
OKLaboklab(78.82% -0.0117 0.1259)
OKLCHoklch(78.82% 0.126 95.3)
XYZxyz(45.7001, 49.1431, 14.8614)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B951 #516BD3
analogous
#D37851 #D3B951 #ACD351
triadic
#D3B951 #51D3B9 #B951D3
tetradic
#D3B951 #51D378 #516BD3 #D351AC
square
#D3B951 #51D378 #516BD3 #D351AC
split-complementary
#D3B951 #51ACD3 #7851D3
monochromatic
#877322 #B89D2F #D3B951 #DFCD82 #ECE0B3

Accessibility & contrast

On white

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

On black

10.83
#D3B951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B951
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B951#FFFFFF#000000##000000
##D3B9511.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#D1BE56
Tritanopia (blue-blind)
#E3ACA2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d3b951;
/* rgb */ color: rgb(211, 185, 81);
/* oklch */ color: oklch(78.8% 0.126 95.3);
Tailwind
colors: {
  custom: {
    50: '#e4cd86',
    500: '#d3b951',
    950: '#000000',
  },
}
SCSS
$custom: #d3b951;
$custom-light: #e4cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b951",
  "rgb": {
    "r": 211,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 48,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78821,
    "c": 0.12648,
    "h": 95.3
  },
  "luminance": 0.49141
}

Semantic roles & 50–950 ramp

primary
#D3B951
secondary
#A6B0DA
accent
#65E345
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B951

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

Preview Lab → · Contrast checker → · Palette generator →

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