#D8B746#D8B746

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

Color values

HEX#D8B746
RGBrgb(216, 183, 70)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 68%, 85%)
CMYKcmyk(0%, 15.3%, 67.6%, 15.3%)
CIE-LABlab(75.40, -0.36, 59.62)
CIE-LCHlch(75.40, 59.63, 90.35°)
OKLaboklab(78.79% -0.0061 0.1343)
OKLCHoklch(78.79% 0.134 92.6)
XYZxyz(46.3602, 48.9107, 12.7920)
Luminance0.4891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B746 #4667D8
analogous
#D86E46 #D8B746 #B0D846
triadic
#D8B746 #46D8B7 #B746D8
tetradic
#D8B746 #46D86E #4667D8 #D846B0
square
#D8B746 #46D86E #4667D8 #D846B0
split-complementary
#D8B746 #46B0D8 #6E46D8
monochromatic
#876F1C #BA9927 #D8B746 #E3CB79 #EDDEAB

Accessibility & contrast

On white

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

On black

10.78
#D8B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B746
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B746#FFFFFF#000000##000000
##D8B7461.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB438
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#E9A9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b746;
/* rgb */ color: rgb(216, 183, 70);
/* oklch */ color: oklch(78.8% 0.134 92.6);
Tailwind
colors: {
  custom: {
    50: '#e8cc7f',
    500: '#d8b746',
    950: '#000000',
  },
}
SCSS
$custom: #d8b746;
$custom-light: #e8cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b746",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 46.438,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78786,
    "c": 0.1344,
    "h": 92.6
  },
  "luminance": 0.48908
}

Semantic roles & 50–950 ramp

primary
#D8B746
secondary
#9FACDB
accent
#66E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B746

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

Preview Lab → · Contrast checker → · Palette generator →

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