#D7B345#D7B345

#D7B345 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.9% C 0.132 H 90.6°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#D7B345
RGBrgb(215, 179, 69)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 68%, 84%)
CMYKcmyk(0%, 16.7%, 67.9%, 15.7%)
CIE-LABlab(74.27, 1.26, 58.84)
CIE-LCHlch(74.27, 58.85, 88.78°)
OKLaboklab(77.87% -0.0015 0.1325)
OKLCHoklch(77.87% 0.132 90.6)
XYZxyz(45.2210, 47.1196, 12.3422)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B345 #4569D7
analogous
#D76A45 #D7B345 #B2D745
triadic
#D7B345 #45D7B3 #B345D7
tetradic
#D7B345 #45D76A #4569D7 #D745B2
square
#D7B345 #45D76A #4569D7 #D745B2
split-complementary
#D7B345 #45B2D7 #6A45D7
monochromatic
#856B1D #B79427 #D7B345 #E2C877 #EDDCAA

Accessibility & contrast

On white

2.01
#D7B345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#D7B345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B345
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B345#FFFFFF#000000##000000
##D7B3451.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B137
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#E8A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d7b345;
/* rgb */ color: rgb(215, 179, 69);
/* oklch */ color: oklch(77.9% 0.132 90.6);
Tailwind
colors: {
  custom: {
    50: '#e7c97e',
    500: '#d7b345',
    950: '#000000',
  },
}
SCSS
$custom: #d7b345;
$custom-light: #e7c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b345",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 45.205,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.13247,
    "h": 90.6
  },
  "luminance": 0.47117
}

Semantic roles & 50–950 ramp

primary
#D7B345
secondary
#9EADDA
accent
#69E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D7B345

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

Preview Lab → · Contrast checker → · Palette generator →

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