#D8B750#D8B750

#D8B750 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.9% C 0.127 H 91.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#D8B750
RGBrgb(216, 183, 80)
HSLhsl(45, 64%, 58%)
HSVhsv(45, 63%, 85%)
CMYKcmyk(0%, 15.3%, 63%, 15.3%)
CIE-LABlab(75.48, 0.24, 55.37)
CIE-LCHlch(75.48, 55.37, 89.75°)
OKLaboklab(78.88% -0.0032 0.1268)
OKLCHoklch(78.88% 0.127 91.4)
XYZxyz(46.7026, 49.0476, 14.5951)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B750 #5071D8
analogous
#D87350 #D8B750 #B5D850
triadic
#D8B750 #50D8B7 #B750D8
tetradic
#D8B750 #50D873 #5071D8 #D850B5
square
#D8B750 #50D873 #5071D8 #D850B5
split-complementary
#D8B750 #50B5D8 #7350D8
monochromatic
#8E7320 #C09C2B #D8B750 #E3CC82 #EEE0B4

Accessibility & contrast

On white

1.94
#D8B750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#D8B750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B750
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B750#FFFFFF#000000##000000
##D8B7501.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#E9A9A1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d8b750;
/* rgb */ color: rgb(216, 183, 80);
/* oklch */ color: oklch(78.9% 0.127 91.4);
Tailwind
colors: {
  custom: {
    50: '#e7cc85',
    500: '#d8b750',
    950: '#000000',
  },
}
SCSS
$custom: #d8b750;
$custom-light: #e7cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b750",
  "rgb": {
    "r": 216,
    "g": 183,
    "b": 80
  },
  "hsl": {
    "h": 45.441,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.7888,
    "c": 0.12681,
    "h": 91.4
  },
  "luminance": 0.49045
}

Semantic roles & 50–950 ramp

primary
#D8B750
secondary
#A7B4DD
accent
#69E741
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B750

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

Preview Lab → · Contrast checker → · Palette generator →

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