#D3B751#D3B751

#D3B751 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.4% C 0.125 H 94.0°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#D3B751
RGBrgb(211, 183, 81)
HSLhsl(47, 60%, 57%)
HSVhsv(47, 62%, 83%)
CMYKcmyk(0%, 13.3%, 61.6%, 17.3%)
CIE-LABlab(75.02, -1.82, 54.28)
CIE-LCHlch(75.02, 54.31, 91.92°)
OKLaboklab(78.41% -0.0086 0.1247)
OKLCHoklch(78.41% 0.125 94)
XYZxyz(45.2847, 48.3122, 14.7229)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3B751 #516DD3
analogous
#D37651 #D3B751 #AED351
triadic
#D3B751 #51D3B7 #B751D3
tetradic
#D3B751 #51D376 #516DD3 #D351AE
square
#D3B751 #51D376 #516DD3 #D351AE
split-complementary
#D3B751 #51AED3 #7651D3
monochromatic
#877222 #B89B2F #D3B751 #DFCB82 #ECDFB3

Accessibility & contrast

On white

1.97
#D3B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#D3B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3B751
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3B751#FFFFFF#000000##000000
##D3B7511.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B446
Deuteranopia (green-blind)
#D0BC56
Tritanopia (blue-blind)
#E3AAA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d3b751;
/* rgb */ color: rgb(211, 183, 81);
/* oklch */ color: oklch(78.4% 0.125 94.0);
Tailwind
colors: {
  custom: {
    50: '#e4cc86',
    500: '#d3b751',
    950: '#000000',
  },
}
SCSS
$custom: #d3b751;
$custom-light: #e4cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3b751",
  "rgb": {
    "r": 211,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 47.077,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78411,
    "c": 0.12501,
    "h": 94
  },
  "luminance": 0.4831
}

Semantic roles & 50–950 ramp

primary
#D3B751
secondary
#A6B1DA
accent
#67E345
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D3B751

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

Preview Lab → · Contrast checker → · Palette generator →

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