#D8B848#D8B848

#D8B848 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.134 H 93.0°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#D8B848
RGBrgb(216, 184, 72)
HSLhsl(47, 65%, 56%)
HSVhsv(47, 67%, 85%)
CMYKcmyk(0%, 14.8%, 66.7%, 15.3%)
CIE-LABlab(75.67, -0.77, 59.07)
CIE-LCHlch(75.67, 59.07, 90.75°)
OKLaboklab(79.01% -0.007 0.1334)
OKLCHoklch(79.01% 0.134 93)
XYZxyz(46.6314, 49.3503, 13.1990)
Luminance0.4935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B848 #4868D8
analogous
#D87048 #D8B848 #B0D848
triadic
#D8B848 #48D8B8 #B848D8
tetradic
#D8B848 #48D870 #4868D8 #D848B0
square
#D8B848 #48D870 #4868D8 #D848B0
split-complementary
#D8B848 #48B0D8 #7048D8
monochromatic
#89711D #BB9A28 #D8B848 #E3CC7A #EEDFAD

Accessibility & contrast

On white

1.93
#D8B848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#D8B848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B848
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B848#FFFFFF#000000##000000
##D8B8481.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#E9AAA1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b848;
/* rgb */ color: rgb(216, 184, 72);
/* oklch */ color: oklch(79.0% 0.134 93.0);
Tailwind
colors: {
  custom: {
    50: '#e8cd80',
    500: '#d8b848',
    950: '#000000',
  },
}
SCSS
$custom: #d8b848;
$custom-light: #e8cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b848",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 72
  },
  "hsl": {
    "h": 46.667,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79007,
    "c": 0.13359,
    "h": 93
  },
  "luminance": 0.49348
}

Semantic roles & 50–950 ramp

primary
#D8B848
secondary
#A0ADDB
accent
#65E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D8B848

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

Preview Lab → · Contrast checker → · Palette generator →

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