#D7B751#D7B751

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

Color values

HEX#D7B751
RGBrgb(215, 183, 81)
HSLhsl(46, 63%, 58%)
HSVhsv(46, 62%, 84%)
CMYKcmyk(0%, 14.9%, 62.3%, 15.7%)
CIE-LABlab(75.40, -0.12, 54.80)
CIE-LCHlch(75.40, 54.80, 90.13°)
OKLaboklab(78.79% -0.004 0.1257)
OKLCHoklch(78.79% 0.126 91.8)
XYZxyz(46.4452, 48.9106, 14.7773)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B751 #5171D7
analogous
#D77451 #D7B751 #B4D751
triadic
#D7B751 #51D7B7 #B751D7
tetradic
#D7B751 #51D774 #5171D7 #D751B4
square
#D7B751 #51D774 #5171D7 #D751B4
split-complementary
#D7B751 #51B4D7 #7451D7
monochromatic
#8D7320 #BF9C2C #D7B751 #E2CC83 #EEE0B5

Accessibility & contrast

On white

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

On black

10.78
#D7B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B751
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B751#FFFFFF#000000##000000
##D7B7511.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b751;
/* rgb */ color: rgb(215, 183, 81);
/* oklch */ color: oklch(78.8% 0.126 91.8);
Tailwind
colors: {
  custom: {
    50: '#e7cc86',
    500: '#d7b751',
    950: '#000000',
  },
}
SCSS
$custom: #d7b751;
$custom-light: #e7cc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b751",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 45.672,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78794,
    "c": 0.12578,
    "h": 91.8
  },
  "luminance": 0.48908
}

Semantic roles & 50–950 ramp

primary
#D7B751
secondary
#A7B4DD
accent
#69E642
background
#FEFCF8
surface
#FDF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B751

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

Preview Lab → · Contrast checker → · Palette generator →

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