#D8B850#D8B850

#D8B850 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.127 H 92.1°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D8B850
RGBrgb(216, 184, 80)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.8%, 63%, 15.3%)
CIE-LABlab(75.74, -0.29, 55.65)
CIE-LCHlch(75.74, 55.65, 90.30°)
OKLaboklab(79.08% -0.0047 0.1274)
OKLCHoklch(79.08% 0.127 92.1)
XYZxyz(46.9096, 49.4616, 14.6641)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B850 #5070D8
analogous
#D87450 #D8B850 #B4D850
triadic
#D8B850 #50D8B8 #B850D8
tetradic
#D8B850 #50D874 #5070D8 #D850B4
square
#D8B850 #50D874 #5070D8 #D850B4
split-complementary
#D8B850 #50B4D8 #7450D8
monochromatic
#8E7420 #C09D2B #D8B850 #E3CC82 #EEE1B4

Accessibility & contrast

On white

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

On black

10.89
#D8B850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B850
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B850#FFFFFF#000000##000000
##D8B8501.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB545
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#E9AAA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b850;
/* rgb */ color: rgb(216, 184, 80);
/* oklch */ color: oklch(79.1% 0.127 92.1);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d8b850',
    950: '#000000',
  },
}
SCSS
$custom: #d8b850;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b850",
  "rgb": {
    "r": 216,
    "g": 184,
    "b": 80
  },
  "hsl": {
    "h": 45.882,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79083,
    "c": 0.12746,
    "h": 92.1
  },
  "luminance": 0.49459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8B850

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

Preview Lab → · Contrast checker → · Palette generator →

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