#D7B645#D7B645

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

Color values

HEX#D7B645
RGBrgb(215, 182, 69)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 68%, 84%)
CMYKcmyk(0%, 15.3%, 67.9%, 15.7%)
CIE-LABlab(75.04, -0.32, 59.64)
CIE-LCHlch(75.04, 59.64, 90.31°)
OKLaboklab(78.48% -0.006 0.1342)
OKLCHoklch(78.48% 0.134 92.6)
XYZxyz(45.8288, 48.3352, 12.5448)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B645 #4566D7
analogous
#D76D45 #D7B645 #AFD745
triadic
#D7B645 #45D7B6 #B645D7
tetradic
#D7B645 #45D76D #4566D7 #D745AF
square
#D7B645 #45D76D #4566D7 #D745AF
split-complementary
#D7B645 #45AFD7 #6D45D7
monochromatic
#856D1D #B79727 #D7B645 #E2CA77 #EDDEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7B645#FFFFFF#000000##000000
##D7B6451.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)
#C9B336
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#E8A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d7b645;
/* rgb */ color: rgb(215, 182, 69);
/* oklch */ color: oklch(78.5% 0.134 92.6);
Tailwind
colors: {
  custom: {
    50: '#e7cb7e',
    500: '#d7b645',
    950: '#000000',
  },
}
SCSS
$custom: #d7b645;
$custom-light: #e7cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b645",
  "rgb": {
    "r": 215,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 46.438,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78477,
    "c": 0.13429,
    "h": 92.6
  },
  "luminance": 0.48333
}

Semantic roles & 50–950 ramp

primary
#D7B645
secondary
#9EABDA
accent
#66E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B645

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

Preview Lab → · Contrast checker → · Palette generator →

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