#D7B648#D7B648

#D7B648 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.5% C 0.132 H 92.2°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#D7B648
RGBrgb(215, 182, 72)
HSLhsl(46, 64%, 56%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 15.3%, 66.5%, 15.7%)
CIE-LABlab(75.06, -0.15, 58.40)
CIE-LCHlch(75.06, 58.40, 90.15°)
OKLaboklab(78.5% -0.0052 0.132)
OKLCHoklch(78.5% 0.132 92.2)
XYZxyz(45.9243, 48.3734, 13.0477)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B648 #4869D7
analogous
#D76F48 #D7B648 #B1D748
triadic
#D7B648 #48D7B6 #B648D7
tetradic
#D7B648 #48D76F #4869D7 #D748B1
square
#D7B648 #48D76F #4869D7 #D748B1
split-complementary
#D7B648 #48B1D7 #6F48D7
monochromatic
#876F1E #B99829 #D7B648 #E2CA7A #EDDEAC

Accessibility & contrast

On white

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

On black

10.67
#D7B648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B648
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B648#FFFFFF#000000##000000
##D7B6481.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33B
Deuteranopia (green-blind)
#D1BD4D
Tritanopia (blue-blind)
#E8A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b648;
/* rgb */ color: rgb(215, 182, 72);
/* oklch */ color: oklch(78.5% 0.132 92.2);
Tailwind
colors: {
  custom: {
    50: '#e7cb80',
    500: '#d7b648',
    950: '#000000',
  },
}
SCSS
$custom: #d7b648;
$custom-light: #e7cb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b648",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 72
  },
  "hsl": {
    "h": 46.154,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78504,
    "c": 0.13212,
    "h": 92.2
  },
  "luminance": 0.48371
}

Semantic roles & 50–950 ramp

primary
#D7B648
secondary
#A0AEDB
accent
#67E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D7B648

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

Preview Lab → · Contrast checker → · Palette generator →

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