#D7B651#D7B651

#D7B651 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.125 H 91.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D7B651
RGBrgb(215, 182, 81)
HSLhsl(45, 63%, 58%)
HSVhsv(45, 62%, 84%)
CMYKcmyk(0%, 15.3%, 62.3%, 15.7%)
CIE-LABlab(75.14, 0.40, 54.52)
CIE-LCHlch(75.14, 54.52, 89.58°)
OKLaboklab(78.59% -0.0025 0.1251)
OKLCHoklch(78.59% 0.125 91.1)
XYZxyz(46.2397, 48.4996, 14.7088)
Luminance0.4850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B651 #5172D7
analogous
#D77351 #D7B651 #B5D751
triadic
#D7B651 #51D7B6 #B651D7
tetradic
#D7B651 #51D773 #5172D7 #D751B5
square
#D7B651 #51D773 #5172D7 #D751B5
split-complementary
#D7B651 #51B5D7 #7351D7
monochromatic
#8D7220 #BF9B2C #D7B651 #E2CB83 #EEE0B5

Accessibility & contrast

On white

1.96
#D7B651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D7B651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B651
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B651#FFFFFF#000000##000000
##D7B6511.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b651;
/* rgb */ color: rgb(215, 182, 81);
/* oklch */ color: oklch(78.6% 0.125 91.1);
Tailwind
colors: {
  custom: {
    50: '#e7cb86',
    500: '#d7b651',
    950: '#000000',
  },
}
SCSS
$custom: #d7b651;
$custom-light: #e7cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b651",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 81
  },
  "hsl": {
    "h": 45.224,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78592,
    "c": 0.12513,
    "h": 91.1
  },
  "luminance": 0.48497
}

Semantic roles & 50–950 ramp

primary
#D7B651
secondary
#A7B4DD
accent
#6AE642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B651

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

Preview Lab → · Contrast checker → · Palette generator →

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