#D8B343#D8B343

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

Color values

HEX#D8B343
RGBrgb(216, 179, 67)
HSLhsl(45, 66%, 55%)
HSVhsv(45, 69%, 85%)
CMYKcmyk(0%, 17.1%, 69%, 15.3%)
CIE-LABlab(74.35, 1.58, 59.79)
CIE-LCHlch(74.35, 59.81, 88.49°)
OKLaboklab(77.95% -0.0009 0.1341)
OKLCHoklch(77.95% 0.134 90.4)
XYZxyz(45.4546, 47.2471, 12.0345)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B343 #4368D8
analogous
#D86943 #D8B343 #B2D843
triadic
#D8B343 #43D8B3 #B343D8
tetradic
#D8B343 #43D869 #4368D8 #D843B2
square
#D8B343 #43D869 #4368D8 #D843B2
split-complementary
#D8B343 #43B2D8 #6943D8
monochromatic
#856B1C #B89426 #D8B343 #E3C776 #EDDCA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B343#FFFFFF#000000##000000
##D8B3431.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)
#C6B134
Deuteranopia (green-blind)
#D0BB48
Tritanopia (blue-blind)
#E9A59C
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8b343;
/* rgb */ color: rgb(216, 179, 67);
/* oklch */ color: oklch(78.0% 0.134 90.4);
Tailwind
colors: {
  custom: {
    50: '#e8c97d',
    500: '#d8b343',
    950: '#000000',
  },
}
SCSS
$custom: #d8b343;
$custom-light: #e8c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b343",
  "rgb": {
    "r": 216,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 45.101,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77951,
    "c": 0.1341,
    "h": 90.4
  },
  "luminance": 0.47244
}

Semantic roles & 50–950 ramp

primary
#D8B343
secondary
#9CACDA
accent
#69E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B343

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

Preview Lab → · Contrast checker → · Palette generator →

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