#D8C050#D8C050

#D8C050 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.133 H 97.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#D8C050
RGBrgb(216, 192, 80)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.1%, 63%, 15.3%)
CIE-LABlab(77.80, -4.45, 57.90)
CIE-LCHlch(77.80, 58.07, 94.40°)
OKLaboklab(80.72% -0.0167 0.1322)
OKLCHoklch(80.72% 0.133 97.2)
XYZxyz(48.6186, 52.8797, 15.2337)
Luminance0.5288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C050 #5068D8
analogous
#D87C50 #D8C050 #ACD850
triadic
#D8C050 #50D8C0 #C050D8
tetradic
#D8C050 #50D87C #5068D8 #D850AC
square
#D8C050 #50D87C #5068D8 #D850AC
split-complementary
#D8C050 #50ACD8 #7C50D8
monochromatic
#8E7A20 #C0A62B #D8C050 #E3D282 #EEE4B4

Accessibility & contrast

On white

1.81
#D8C050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.58
#D8C050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C050
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C050#FFFFFF#000000##000000
##D8C0501.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC43
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#E8B3A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8c050;
/* rgb */ color: rgb(216, 192, 80);
/* oklch */ color: oklch(80.7% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#e7d286',
    500: '#d8c050',
    950: '#000000',
  },
}
SCSS
$custom: #d8c050;
$custom-light: #e7d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c050",
  "rgb": {
    "r": 216,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 49.412,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80717,
    "c": 0.13319,
    "h": 97.2
  },
  "luminance": 0.52877
}

Semantic roles & 50–950 ramp

primary
#D8C050
secondary
#394994
accent
#5EE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C050

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

Preview Lab → · Contrast checker → · Palette generator →

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