#D8D361#D8D361

#D8D361 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.136 H 106.7°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#D8D361
RGBrgb(216, 211, 97)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 55%, 85%)
CMYKcmyk(0%, 2.3%, 55.1%, 15.3%)
CIE-LABlab(82.94, -12.94, 56.05)
CIE-LCHlch(82.94, 57.52, 103.00°)
OKLaboklab(84.85% -0.039 0.1304)
OKLCHoklch(84.85% 0.136 106.7)
XYZxyz(53.7724, 62.0521, 20.4517)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D361 #6166D8
analogous
#D89861 #D8D361 #A2D861
triadic
#D8D361 #61D8D3 #D361D8
tetradic
#D8D361 #61D898 #6166D8 #D861A2
square
#D8D361 #61D898 #6166D8 #D861A2
split-complementary
#D8D361 #61A2D8 #9861D8
monochromatic
#999426 #CAC432 #D8D361 #E4E192 #F0EEC3

Accessibility & contrast

On white

1.57
#D8D361 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#D8D361 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D361
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D361#FFFFFF#000000##000000
##D8D3611.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC55
Deuteranopia (green-blind)
#E5D167
Tritanopia (blue-blind)
#E6C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d361;
/* rgb */ color: rgb(216, 211, 97);
/* oklch */ color: oklch(84.8% 0.136 106.7);
Tailwind
colors: {
  custom: {
    50: '#e6e091',
    500: '#d8d361',
    950: '#000000',
  },
}
SCSS
$custom: #d8d361;
$custom-light: #e6e091;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d361",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 97
  },
  "hsl": {
    "h": 57.479,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84846,
    "c": 0.13606,
    "h": 106.7
  },
  "luminance": 0.62051
}

Semantic roles & 50–950 ramp

primary
#D8D361
secondary
#40449D
accent
#25C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D361

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

Preview Lab → · Contrast checker → · Palette generator →

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