#D8C550#D8C550

#D8C550 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.137 H 100.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D8C550
RGBrgb(216, 197, 80)
HSLhsl(52, 64%, 58%)
HSVhsv(52, 63%, 85%)
CMYKcmyk(0%, 8.8%, 63%, 15.3%)
CIE-LABlab(79.11, -7.03, 59.31)
CIE-LCHlch(79.11, 59.72, 96.76°)
OKLaboklab(81.75% -0.024 0.1351)
OKLCHoklch(81.75% 0.137 100.1)
XYZxyz(49.7352, 55.1128, 15.6059)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C550 #5063D8
analogous
#D88150 #D8C550 #A7D850
triadic
#D8C550 #50D8C5 #C550D8
tetradic
#D8C550 #50D881 #5063D8 #D850A7
square
#D8C550 #50D881 #5063D8 #D850A7
split-complementary
#D8C550 #50A7D8 #8150D8
monochromatic
#8E7F20 #C0AB2B #D8C550 #E3D682 #EEE6B4

Accessibility & contrast

On white

1.75
#D8C550 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D8C550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C550
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C550#FFFFFF#000000##000000
##D8C5501.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C042
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E8B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c550;
/* rgb */ color: rgb(216, 197, 80);
/* oklch */ color: oklch(81.7% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#e7d686',
    500: '#d8c550',
    950: '#000000',
  },
}
SCSS
$custom: #d8c550;
$custom-light: #e7d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c550",
  "rgb": {
    "r": 216,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 51.618,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81749,
    "c": 0.13726,
    "h": 100.1
  },
  "luminance": 0.55111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8C550

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

Preview Lab → · Contrast checker → · Palette generator →

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