#D8B344#D8B344

#D8B344 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 78.0% C 0.133 H 90.3°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#D8B344
RGBrgb(216, 179, 68)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 69%, 85%)
CMYKcmyk(0%, 17.1%, 68.5%, 15.3%)
CIE-LABlab(74.36, 1.63, 59.38)
CIE-LCHlch(74.36, 59.40, 88.43°)
OKLaboklab(77.96% -0.0006 0.1334)
OKLCHoklch(77.96% 0.133 90.3)
XYZxyz(45.4848, 47.2592, 12.1939)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B344 #4469D8
analogous
#D86944 #D8B344 #B3D844
triadic
#D8B344 #44D8B3 #B344D8
tetradic
#D8B344 #44D869 #4469D8 #D844B3
square
#D8B344 #44D869 #4469D8 #D844B3
split-complementary
#D8B344 #44B3D8 #6944D8
monochromatic
#866B1C #B89426 #D8B344 #E3C877 #EDDCA9

Accessibility & contrast

On white

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

On black

10.45
#D8B344 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B344
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B344#FFFFFF#000000##000000
##D8B3441.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B136
Deuteranopia (green-blind)
#CFBB49
Tritanopia (blue-blind)
#E9A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8b344;
/* rgb */ color: rgb(216, 179, 68);
/* oklch */ color: oklch(78.0% 0.133 90.3);
Tailwind
colors: {
  custom: {
    50: '#e8c97e',
    500: '#d8b344',
    950: '#000000',
  },
}
SCSS
$custom: #d8b344;
$custom-light: #e8c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b344",
  "rgb": {
    "r": 216,
    "g": 179,
    "b": 68
  },
  "hsl": {
    "h": 45,
    "s": 65.487,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7796,
    "c": 0.13341,
    "h": 90.3
  },
  "luminance": 0.47256
}

Semantic roles & 50–950 ramp

primary
#D8B344
secondary
#9DADDB
accent
#6AE83F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B344

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

Preview Lab → · Contrast checker → · Palette generator →

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