#D8B13C#D8B13C

#D8B13C is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.5% C 0.138 H 89.9°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#D8B13C
RGBrgb(216, 177, 60)
HSLhsl(45, 67%, 54%)
HSVhsv(45, 72%, 85%)
CMYKcmyk(0%, 18.1%, 72.2%, 15.3%)
CIE-LABlab(73.79, 2.28, 62.05)
CIE-LCHlch(73.79, 62.09, 87.89°)
OKLaboklab(77.49% 0.0003 0.1376)
OKLCHoklch(77.49% 0.138 89.9)
XYZxyz(44.8592, 46.3722, 10.8621)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B13C #3C63D8
analogous
#D8633C #D8B13C #B1D83C
triadic
#D8B13C #3CD8B1 #B13CD8
tetradic
#D8B13C #3CD863 #3C63D8 #D83CB1
square
#D8B13C #3CD863 #3C63D8 #D83CB1
split-complementary
#D8B13C #3CB1D8 #633CD8
monochromatic
#80661A #B38F24 #D8B13C #E2C56F #ECDAA2

Accessibility & contrast

On white

2.04
#D8B13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#D8B13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B13C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B13C#FFFFFF#000000##000000
##D8B13C1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2B
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#EAA29A
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #d8b13c;
/* rgb */ color: rgb(216, 177, 60);
/* oklch */ color: oklch(77.5% 0.138 89.9);
Tailwind
colors: {
  custom: {
    50: '#e8c779',
    500: '#d8b13c',
    950: '#000000',
  },
}
SCSS
$custom: #d8b13c;
$custom-light: #e8c779;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b13c",
  "rgb": {
    "r": 216,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77493,
    "c": 0.13761,
    "h": 89.9
  },
  "luminance": 0.46369
}

Semantic roles & 50–950 ramp

primary
#D8B13C
secondary
#97A7D9
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D8B13C

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

Preview Lab → · Contrast checker → · Palette generator →

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