#D7B646#D7B646

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

Color values

HEX#D7B646
RGBrgb(215, 182, 70)
HSLhsl(46, 64%, 56%)
HSVhsv(46, 67%, 84%)
CMYKcmyk(0%, 15.3%, 67.4%, 15.7%)
CIE-LABlab(75.04, -0.26, 59.23)
CIE-LCHlch(75.04, 59.23, 90.26°)
OKLaboklab(78.49% -0.0057 0.1335)
OKLCHoklch(78.49% 0.134 92.5)
XYZxyz(45.8601, 48.3477, 12.7097)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B646 #4667D7
analogous
#D76D46 #D7B646 #AFD746
triadic
#D7B646 #46D7B6 #B646D7
tetradic
#D7B646 #46D76D #4667D7 #D746AF
square
#D7B646 #46D76D #4667D7 #D746AF
split-complementary
#D7B646 #46AFD7 #6D46D7
monochromatic
#866E1D #B89728 #D7B646 #E2CA78 #EDDEAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B646#FFFFFF#000000##000000
##D7B6461.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)
#C9B338
Deuteranopia (green-blind)
#D1BD4C
Tritanopia (blue-blind)
#E8A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b646;
/* rgb */ color: rgb(215, 182, 70);
/* oklch */ color: oklch(78.5% 0.134 92.5);
Tailwind
colors: {
  custom: {
    50: '#e7cb7f',
    500: '#d7b646',
    950: '#000000',
  },
}
SCSS
$custom: #d7b646;
$custom-light: #e7cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b646",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 46.345,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78486,
    "c": 0.13357,
    "h": 92.5
  },
  "luminance": 0.48345
}

Semantic roles & 50–950 ramp

primary
#D7B646
secondary
#9EACDA
accent
#66E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B646

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

Preview Lab → · Contrast checker → · Palette generator →

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