#D8C849#D8C849

#D8C849 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.145 H 102.1°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D8C849
RGBrgb(216, 200, 73)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 66%, 85%)
CMYKcmyk(0%, 7.4%, 66.2%, 15.3%)
CIE-LABlab(79.84, -8.98, 63.00)
CIE-LCHlch(79.84, 63.64, 98.11°)
OKLaboklab(82.31% -0.0304 0.1419)
OKLCHoklch(82.31% 0.145 102.1)
XYZxyz(50.1779, 56.3906, 14.5434)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C849 #4959D8
analogous
#D88149 #D8C849 #A1D849
triadic
#D8C849 #49D8C8 #C849D8
tetradic
#D8C849 #49D881 #4959D8 #D849A1
square
#D8C849 #49D881 #4959D8 #D849A1
split-complementary
#D8C849 #49A1D8 #8149D8
monochromatic
#897D1D #BCAB28 #D8C849 #E3D77B #EEE6AE

Accessibility & contrast

On white

1.71
#D8C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D8C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C849
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C849#FFFFFF#000000##000000
##D8C8491.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#E8BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c849;
/* rgb */ color: rgb(216, 200, 73);
/* oklch */ color: oklch(82.3% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#e7d882',
    500: '#d8c849',
    950: '#000000',
  },
}
SCSS
$custom: #d8c849;
$custom-light: #e7d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c849",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 53.287,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8231,
    "c": 0.14509,
    "h": 102.1
  },
  "luminance": 0.56389
}

Semantic roles & 50–950 ramp

primary
#D8C849
secondary
#36408F
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C849

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

Preview Lab → · Contrast checker → · Palette generator →

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