#D8B943#D8B943

#D8B943 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.138 H 94.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D8B943
RGBrgb(216, 185, 67)
HSLhsl(48, 66%, 55%)
HSVhsv(48, 69%, 85%)
CMYKcmyk(0%, 14.4%, 69%, 15.3%)
CIE-LABlab(75.89, -1.57, 61.37)
CIE-LCHlch(75.89, 61.39, 91.47°)
OKLaboklab(79.17% -0.0099 0.1374)
OKLCHoklch(79.17% 0.138 94.1)
XYZxyz(46.6833, 49.7046, 12.4441)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B943 #4362D8
analogous
#D86E43 #D8B943 #ACD843
triadic
#D8B943 #43D8B9 #B943D8
tetradic
#D8B943 #43D86E #4362D8 #D843AC
square
#D8B943 #43D86E #4362D8 #D843AC
split-complementary
#D8B943 #43ACD8 #6E43D8
monochromatic
#856F1C #B89926 #D8B943 #E3CC76 #EDDFA8

Accessibility & contrast

On white

1.92
#D8B943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D8B943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B943
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B943#FFFFFF#000000##000000
##D8B9431.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB633
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#E9ABA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b943;
/* rgb */ color: rgb(216, 185, 67);
/* oklch */ color: oklch(79.2% 0.138 94.1);
Tailwind
colors: {
  custom: {
    50: '#e8cd7d',
    500: '#d8b943',
    950: '#000000',
  },
}
SCSS
$custom: #d8b943;
$custom-light: #e8cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b943",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 47.517,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79167,
    "c": 0.1378,
    "h": 94.1
  },
  "luminance": 0.49702
}

Semantic roles & 50–950 ramp

primary
#D8B943
secondary
#9CA9DA
accent
#62E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B943

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

Preview Lab → · Contrast checker → · Palette generator →

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