#D8D936#D8D936

#D8D936 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.172 H 109.9°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D8D936
RGBrgb(216, 217, 54)
HSLhsl(60, 68%, 53%)
HSVhsv(60, 75%, 85%)
CMYKcmyk(0.5%, 0%, 75.1%, 14.9%)
CIE-LABlab(84.22, -18.39, 74.05)
CIE-LCHlch(84.22, 76.30, 103.94°)
OKLaboklab(85.77% -0.0587 0.162)
OKLCHoklch(85.77% 0.172 109.9)
XYZxyz(53.7996, 64.4926, 13.1036)
Luminance0.6449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D936 #3736D9
analogous
#D98836 #D8D936 #86D936
triadic
#D8D936 #36D8D9 #D936D8
tetradic
#D8D936 #36D988 #3736D9 #D93686
square
#D8D936 #36D988 #3736D9 #D93686
split-complementary
#D8D936 #3686D9 #8836D9
monochromatic
#7C7D18 #B0B021 #D8D936 #E2E369 #ECEC9D

Accessibility & contrast

On white

1.51
#D8D936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D8D936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D936
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D936#FFFFFF#000000##000000
##D8D9361.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD009
Deuteranopia (green-blind)
#ECD444
Tritanopia (blue-blind)
#E7CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d936;
/* rgb */ color: rgb(216, 217, 54);
/* oklch */ color: oklch(85.8% 0.172 109.9);
Tailwind
colors: {
  custom: {
    50: '#e8e47a',
    500: '#d8d936',
    950: '#000000',
  },
}
SCSS
$custom: #d8d936;
$custom-light: #e8e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d936",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 54
  },
  "hsl": {
    "h": 60.368,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.85767,
    "c": 0.17229,
    "h": 109.9
  },
  "luminance": 0.64491
}

Semantic roles & 50–950 ramp

primary
#D8D936
secondary
#2F2F84
accent
#3DEB3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8D936

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

Preview Lab → · Contrast checker → · Palette generator →

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