#D7B745#D7B745

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

Color values

HEX#D7B745
RGBrgb(215, 183, 69)
HSLhsl(47, 65%, 56%)
HSVhsv(47, 68%, 84%)
CMYKcmyk(0%, 14.9%, 67.9%, 15.7%)
CIE-LABlab(75.29, -0.84, 59.91)
CIE-LCHlch(75.29, 59.91, 90.81°)
OKLaboklab(78.68% -0.0075 0.1347)
OKLCHoklch(78.68% 0.135 93.2)
XYZxyz(46.0343, 48.7463, 12.6133)
Luminance0.4874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B745 #4565D7
analogous
#D76E45 #D7B745 #AED745
triadic
#D7B745 #45D7B7 #B745D7
tetradic
#D7B745 #45D76E #4565D7 #D745AE
square
#D7B745 #45D76E #4565D7 #D745AE
split-complementary
#D7B745 #45AED7 #6E45D7
monochromatic
#856E1D #B79827 #D7B745 #E2CA77 #EDDEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B745#FFFFFF#000000##000000
##D7B7451.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)
#CAB436
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#E8A99F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b745;
/* rgb */ color: rgb(215, 183, 69);
/* oklch */ color: oklch(78.7% 0.135 93.2);
Tailwind
colors: {
  custom: {
    50: '#e7cc7e',
    500: '#d7b745',
    950: '#000000',
  },
}
SCSS
$custom: #d7b745;
$custom-light: #e7cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b745",
  "rgb": {
    "r": 215,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 46.849,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7868,
    "c": 0.13493,
    "h": 93.2
  },
  "luminance": 0.48744
}

Semantic roles & 50–950 ramp

primary
#D7B745
secondary
#9EABDA
accent
#65E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B745

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

Preview Lab → · Contrast checker → · Palette generator →

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