#D8B645#D8B645

#D8B645 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.6% C 0.134 H 92.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#D8B645
RGBrgb(216, 182, 69)
HSLhsl(46, 65%, 56%)
HSVhsv(46, 68%, 85%)
CMYKcmyk(0%, 15.7%, 68.1%, 15.3%)
CIE-LABlab(75.13, 0.11, 59.77)
CIE-LCHlch(75.13, 59.77, 89.90°)
OKLaboklab(78.57% -0.0049 0.1344)
OKLCHoklch(78.57% 0.134 92.1)
XYZxyz(46.1234, 48.4871, 12.5586)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B645 #4567D8
analogous
#D86C45 #D8B645 #B1D845
triadic
#D8B645 #45D8B6 #B645D8
tetradic
#D8B645 #45D86C #4567D8 #D845B1
square
#D8B645 #45D86C #4567D8 #D845B1
split-complementary
#D8B645 #45B1D8 #6C45D8
monochromatic
#866E1C #B99727 #D8B645 #E3CA78 #EDDEAA

Accessibility & contrast

On white

1.96
#D8B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#D8B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B645
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B645#FFFFFF#000000##000000
##D8B6451.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B336
Deuteranopia (green-blind)
#D2BD4B
Tritanopia (blue-blind)
#E9A89F
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8b645;
/* rgb */ color: rgb(216, 182, 69);
/* oklch */ color: oklch(78.6% 0.134 92.1);
Tailwind
colors: {
  custom: {
    50: '#e8cb7e',
    500: '#d8b645',
    950: '#000000',
  },
}
SCSS
$custom: #d8b645;
$custom-light: #e8cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b645",
  "rgb": {
    "r": 216,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 46.122,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78574,
    "c": 0.13448,
    "h": 92.1
  },
  "luminance": 0.48484
}

Semantic roles & 50–950 ramp

primary
#D8B645
secondary
#9EACDB
accent
#67E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B645

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

Preview Lab → · Contrast checker → · Palette generator →

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