#D8C149#D8C149

#D8C149 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.139 H 98.3°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#D8C149
RGBrgb(216, 193, 73)
HSLhsl(50, 65%, 57%)
HSVhsv(50, 66%, 85%)
CMYKcmyk(0%, 10.6%, 66.2%, 15.3%)
CIE-LABlab(78.01, -5.39, 61.10)
CIE-LCHlch(78.01, 61.33, 95.04°)
OKLaboklab(80.86% -0.0201 0.1379)
OKLCHoklch(80.86% 0.139 98.3)
XYZxyz(48.5936, 53.2222, 14.0153)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C149 #4960D8
analogous
#D87A49 #D8C149 #A7D849
triadic
#D8C149 #49D8C1 #C149D8
tetradic
#D8C149 #49D87A #4960D8 #D849A7
square
#D8C149 #49D87A #4960D8 #D849A7
split-complementary
#D8C149 #49A7D8 #7A49D8
monochromatic
#89781D #BCA428 #D8C149 #E3D27B #EEE3AE

Accessibility & contrast

On white

1.80
#D8C149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#D8C149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C149
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C149#FFFFFF#000000##000000
##D8C1491.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#E8B3A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d8c149;
/* rgb */ color: rgb(216, 193, 73);
/* oklch */ color: oklch(80.9% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#e7d382',
    500: '#d8c149',
    950: '#000000',
  },
}
SCSS
$custom: #d8c149;
$custom-light: #e7d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c149",
  "rgb": {
    "r": 216,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 50.35,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80858,
    "c": 0.13932,
    "h": 98.3
  },
  "luminance": 0.5322
}

Semantic roles & 50–950 ramp

primary
#D8C149
secondary
#36448F
accent
#5BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C149

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

Preview Lab → · Contrast checker → · Palette generator →

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