#D8C836#D8C836

#D8C836 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.157 H 102.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D8C836
RGBrgb(216, 200, 54)
HSLhsl(54, 68%, 53%)
HSVhsv(54, 75%, 85%)
CMYKcmyk(0%, 7.4%, 75%, 15.3%)
CIE-LABlab(79.71, -9.90, 69.89)
CIE-LCHlch(79.71, 70.59, 98.06°)
OKLaboklab(82.17% -0.0349 0.1531)
OKLCHoklch(82.17% 0.157 102.8)
XYZxyz(49.6413, 56.1760, 11.7175)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C836 #3646D8
analogous
#D87736 #D8C836 #97D836
triadic
#D8C836 #36D8C8 #C836D8
tetradic
#D8C836 #36D877 #3646D8 #D83697
square
#D8C836 #36D877 #3646D8 #D83697
split-complementary
#D8C836 #3697D8 #7736D8
monochromatic
#7C7218 #AFA122 #D8C836 #E2D669 #ECE49D

Accessibility & contrast

On white

1.72
#D8C836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#D8C836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C836
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C836#FFFFFF#000000##000000
##D8C8361.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC217
Deuteranopia (green-blind)
#DFC941
Tritanopia (blue-blind)
#E9BAAC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c836;
/* rgb */ color: rgb(216, 200, 54);
/* oklch */ color: oklch(82.2% 0.157 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8d878',
    500: '#d8c836',
    950: '#000000',
  },
}
SCSS
$custom: #d8c836;
$custom-light: #e8d878;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c836",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 54
  },
  "hsl": {
    "h": 54.074,
    "s": 67.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82174,
    "c": 0.15706,
    "h": 102.8
  },
  "luminance": 0.56174
}

Semantic roles & 50–950 ramp

primary
#D8C836
secondary
#2F3783
accent
#4FEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8C836

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

Preview Lab → · Contrast checker → · Palette generator →

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