#D8C650#D8C650

#D8C650 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.138 H 100.6°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D8C650
RGBrgb(216, 198, 80)
HSLhsl(52, 64%, 58%)
HSVhsv(52, 63%, 85%)
CMYKcmyk(0%, 8.3%, 63%, 15.3%)
CIE-LABlab(79.37, -7.54, 59.59)
CIE-LCHlch(79.37, 60.07, 97.21°)
OKLaboklab(81.96% -0.0255 0.1357)
OKLCHoklch(81.96% 0.138 100.6)
XYZxyz(49.9630, 55.5684, 15.6819)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C650 #5062D8
analogous
#D88250 #D8C650 #A6D850
triadic
#D8C650 #50D8C6 #C650D8
tetradic
#D8C650 #50D882 #5062D8 #D850A6
square
#D8C650 #50D882 #5062D8 #D850A6
split-complementary
#D8C650 #50A6D8 #8250D8
monochromatic
#8E7F20 #C0AC2B #D8C650 #E3D682 #EEE7B4

Accessibility & contrast

On white

1.73
#D8C650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D8C650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C650
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C650#FFFFFF#000000##000000
##D8C6501.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C142
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#E8B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d8c650;
/* rgb */ color: rgb(216, 198, 80);
/* oklch */ color: oklch(82.0% 0.138 100.6);
Tailwind
colors: {
  custom: {
    50: '#e7d786',
    500: '#d8c650',
    950: '#000000',
  },
}
SCSS
$custom: #d8c650;
$custom-light: #e7d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c650",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 52.059,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81956,
    "c": 0.13811,
    "h": 100.6
  },
  "luminance": 0.55566
}

Semantic roles & 50–950 ramp

primary
#D8C650
secondary
#394594
accent
#57E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C650

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

Preview Lab → · Contrast checker → · Palette generator →

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