#D7B746#D7B746

#D7B746 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.7% C 0.134 H 93.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#D7B746
RGBrgb(215, 183, 70)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.9%, 67.4%, 15.7%)
CIE-LABlab(75.30, -0.79, 59.50)
CIE-LCHlch(75.30, 59.50, 90.76°)
OKLaboklab(78.69% -0.0072 0.134)
OKLCHoklch(78.69% 0.134 93.1)
XYZxyz(46.0656, 48.7588, 12.7782)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B746 #4666D7
analogous
#D76E46 #D7B746 #AED746
triadic
#D7B746 #46D7B7 #B746D7
tetradic
#D7B746 #46D76E #4666D7 #D746AE
square
#D7B746 #46D76E #4666D7 #D746AE
split-complementary
#D7B746 #46AED7 #6E46D7
monochromatic
#866F1D #B89828 #D7B746 #E2CB78 #EDDEAB

Accessibility & contrast

On white

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

On black

10.75
#D7B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B746
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B746#FFFFFF#000000##000000
##D7B7461.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB438
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#E8A9A0
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b746;
/* rgb */ color: rgb(215, 183, 70);
/* oklch */ color: oklch(78.7% 0.134 93.1);
Tailwind
colors: {
  custom: {
    50: '#e7cc7f',
    500: '#d7b746',
    950: '#000000',
  },
}
SCSS
$custom: #d7b746;
$custom-light: #e7cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b746",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 46.759,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78689,
    "c": 0.13422,
    "h": 93.1
  },
  "luminance": 0.48756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7B746

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

Preview Lab → · Contrast checker → · Palette generator →

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