#D8BA53#D8BA53

#D8BA53 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.126 H 93.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D8BA53
RGBrgb(216, 186, 83)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 62%, 85%)
CMYKcmyk(0%, 13.9%, 61.6%, 15.3%)
CIE-LABlab(76.28, -1.14, 54.90)
CIE-LCHlch(76.28, 54.91, 91.19°)
OKLaboklab(79.52% -0.0068 0.1262)
OKLCHoklch(79.52% 0.126 93.1)
XYZxyz(47.4413, 50.3437, 15.4004)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA53 #5371D8
analogous
#D87753 #D8BA53 #B3D853
triadic
#D8BA53 #53D8BA #BA53D8
tetradic
#D8BA53 #53D877 #5371D8 #D853B3
square
#D8BA53 #53D877 #5371D8 #D853B3
split-complementary
#D8BA53 #53B3D8 #7753D8
monochromatic
#907721 #C2A02C #D8BA53 #E3CE85 #EFE2B7

Accessibility & contrast

On white

1.90
#D8BA53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#D8BA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA53
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA53#FFFFFF#000000##000000
##D8BA531.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB748
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#E8ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba53;
/* rgb */ color: rgb(216, 186, 83);
/* oklch */ color: oklch(79.5% 0.126 93.1);
Tailwind
colors: {
  custom: {
    50: '#e7ce87',
    500: '#d8ba53',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba53;
$custom-light: #e7ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba53",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 83
  },
  "hsl": {
    "h": 46.466,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.7952,
    "c": 0.12635,
    "h": 93.1
  },
  "luminance": 0.50341
}

Semantic roles & 50–950 ramp

primary
#D8BA53
secondary
#3A4F95
accent
#67E642
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BA53

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

Preview Lab → · Contrast checker → · Palette generator →

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