#D8C141#D8C141

#D8C141 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.145 H 98.8°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#D8C141
RGBrgb(216, 193, 65)
HSLhsl(51, 66%, 55%)
HSVhsv(51, 70%, 85%)
CMYKcmyk(0%, 10.6%, 69.9%, 15.3%)
CIE-LABlab(77.95, -5.82, 64.24)
CIE-LCHlch(77.95, 64.50, 95.18°)
OKLaboklab(80.79% -0.0223 0.1432)
OKLCHoklch(80.79% 0.145 98.8)
XYZxyz(48.3453, 53.1228, 12.7072)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C141 #4158D8
analogous
#D87641 #D8C141 #A3D841
triadic
#D8C141 #41D8C1 #C141D8
tetradic
#D8C141 #41D876 #4158D8 #D841A3
square
#D8C141 #41D876 #4158D8 #D841A3
split-complementary
#D8C141 #41A3D8 #7641D8
monochromatic
#84741B #B6A025 #D8C141 #E2D274 #EDE2A7

Accessibility & contrast

On white

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

On black

11.62
#D8C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C141
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C141#FFFFFF#000000##000000
##D8C1411.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#DAC449
Tritanopia (blue-blind)
#E9B3A7
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8c141;
/* rgb */ color: rgb(216, 193, 65);
/* oklch */ color: oklch(80.8% 0.145 98.8);
Tailwind
colors: {
  custom: {
    50: '#e8d37d',
    500: '#d8c141',
    950: '#000000',
  },
}
SCSS
$custom: #d8c141;
$custom-light: #e8d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c141",
  "rgb": {
    "r": 216,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 50.861,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80793,
    "c": 0.14489,
    "h": 98.8
  },
  "luminance": 0.53121
}

Semantic roles & 50–950 ramp

primary
#D8C141
secondary
#33408A
accent
#59E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C141

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

Preview Lab → · Contrast checker → · Palette generator →

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