#D8BD45#D8BD45

#D8BD45 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.139 H 96.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D8BD45
RGBrgb(216, 189, 69)
HSLhsl(49, 65%, 56%)
HSVhsv(49, 68%, 85%)
CMYKcmyk(0%, 12.5%, 68.1%, 15.3%)
CIE-LABlab(76.94, -3.54, 61.63)
CIE-LCHlch(76.94, 61.73, 93.29°)
OKLaboklab(80% -0.0153 0.1383)
OKLCHoklch(80% 0.139 96.3)
XYZxyz(47.5930, 51.4262, 13.0485)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD45 #4560D8
analogous
#D87445 #D8BD45 #A9D845
triadic
#D8BD45 #45D8BD #BD45D8
tetradic
#D8BD45 #45D874 #4560D8 #D845A9
square
#D8BD45 #45D874 #4560D8 #D845A9
split-complementary
#D8BD45 #45A9D8 #7445D8
monochromatic
#86731C #B99E27 #D8BD45 #E3CF78 #EDE1AA

Accessibility & contrast

On white

1.86
#D8BD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D8BD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD45
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD45#FFFFFF#000000##000000
##D8BD451.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B935
Deuteranopia (green-blind)
#D7C24C
Tritanopia (blue-blind)
#E9AFA4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd45;
/* rgb */ color: rgb(216, 189, 69);
/* oklch */ color: oklch(80.0% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#e8d07f',
    500: '#d8bd45',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd45;
$custom-light: #e8d07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd45",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 48.98,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80001,
    "c": 0.13918,
    "h": 96.3
  },
  "luminance": 0.51424
}

Semantic roles & 50–950 ramp

primary
#D8BD45
secondary
#34458D
accent
#5FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BD45

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

Preview Lab → · Contrast checker → · Palette generator →

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