#D7B846#D7B846

#D7B846 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.135 H 93.7°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#D7B846
RGBrgb(215, 184, 70)
HSLhsl(47, 64%, 56%)
HSVhsv(47, 67%, 84%)
CMYKcmyk(0%, 14.4%, 67.4%, 15.7%)
CIE-LABlab(75.56, -1.31, 59.77)
CIE-LCHlch(75.56, 59.78, 91.26°)
OKLaboklab(78.89% -0.0088 0.1346)
OKLCHoklch(78.89% 0.135 93.7)
XYZxyz(46.2726, 49.1728, 12.8472)
Luminance0.4917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7B846 #4665D7
analogous
#D76F46 #D7B846 #AED746
triadic
#D7B846 #46D7B8 #B846D7
tetradic
#D7B846 #46D76F #4665D7 #D746AE
square
#D7B846 #46D76F #4665D7 #D746AE
split-complementary
#D7B846 #46AED7 #6F46D7
monochromatic
#866F1D #B89928 #D7B846 #E2CB78 #EDDFAB

Accessibility & contrast

On white

1.94
#D7B846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#D7B846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7B846
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7B846#FFFFFF#000000##000000
##D7B8461.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB537
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#E8AAA0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d7b846;
/* rgb */ color: rgb(215, 184, 70);
/* oklch */ color: oklch(78.9% 0.135 93.7);
Tailwind
colors: {
  custom: {
    50: '#e7cd7f',
    500: '#d7b846',
    950: '#000000',
  },
}
SCSS
$custom: #d7b846;
$custom-light: #e7cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7b846",
  "rgb": {
    "r": 215,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 47.172,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78893,
    "c": 0.13487,
    "h": 93.7
  },
  "luminance": 0.4917
}

Semantic roles & 50–950 ramp

primary
#D7B846
secondary
#9EABDA
accent
#64E740
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #D7B846

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

Preview Lab → · Contrast checker → · Palette generator →

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