#D7B346#D7B346

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

Color values

HEX#D7B346
RGBrgb(215, 179, 70)
HSLhsl(45, 64%, 56%)
HSVhsv(45, 67%, 84%)
CMYKcmyk(0%, 16.7%, 67.4%, 15.7%)
CIE-LABlab(74.27, 1.31, 58.42)
CIE-LCHlch(74.27, 58.44, 88.71°)
OKLaboklab(77.88% -0.0012 0.1318)
OKLCHoklch(77.88% 0.132 90.5)
XYZxyz(45.2523, 47.1321, 12.5071)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B346 #466AD7
analogous
#D76A46 #D7B346 #B3D746
triadic
#D7B346 #46D7B3 #B346D7
tetradic
#D7B346 #46D76A #466AD7 #D746B3
square
#D7B346 #46D76A #466AD7 #D746B3
split-complementary
#D7B346 #46B3D7 #6A46D7
monochromatic
#866C1D #B89428 #D7B346 #E2C878 #EDDCAB

Accessibility & contrast

On white

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

On black

10.43
#D7B346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B346
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B346#FFFFFF#000000##000000
##D7B3461.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7b346;
/* rgb */ color: rgb(215, 179, 70);
/* oklch */ color: oklch(77.9% 0.132 90.5);
Tailwind
colors: {
  custom: {
    50: '#e7c97f',
    500: '#d7b346',
    950: '#000000',
  },
}
SCSS
$custom: #d7b346;
$custom-light: #e7c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b346",
  "rgb": {
    "r": 215,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 45.103,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.77879,
    "c": 0.13176,
    "h": 90.5
  },
  "luminance": 0.47129
}

Semantic roles & 50–950 ramp

primary
#D7B346
secondary
#9EADDA
accent
#6AE740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B346

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

Preview Lab → · Contrast checker → · Palette generator →

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