#D8D461#D8D461

#D8D461 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.137 H 107.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D8D461
RGBrgb(216, 212, 97)
HSLhsl(58, 60%, 61%)
HSVhsv(58, 55%, 85%)
CMYKcmyk(0%, 1.9%, 55.1%, 15.3%)
CIE-LABlab(83.21, -13.44, 56.35)
CIE-LCHlch(83.21, 57.93, 103.41°)
OKLaboklab(85.06% -0.0404 0.131)
OKLCHoklch(85.06% 0.137 107.1)
XYZxyz(54.0216, 62.5505, 20.5347)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D461 #6165D8
analogous
#D89961 #D8D461 #A1D861
triadic
#D8D461 #61D8D4 #D461D8
tetradic
#D8D461 #61D899 #6165D8 #D861A1
square
#D8D461 #61D899 #6165D8 #D861A1
split-complementary
#D8D461 #61A1D8 #9961D8
monochromatic
#999526 #CAC532 #D8D461 #E4E192 #F0EFC3

Accessibility & contrast

On white

1.55
#D8D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#D8D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D461
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D461#FFFFFF#000000##000000
##D8D4611.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD55
Deuteranopia (green-blind)
#E6D167
Tritanopia (blue-blind)
#E6C8BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d461;
/* rgb */ color: rgb(216, 212, 97);
/* oklch */ color: oklch(85.1% 0.137 107.1);
Tailwind
colors: {
  custom: {
    50: '#e6e191',
    500: '#d8d461',
    950: '#000000',
  },
}
SCSS
$custom: #d8d461;
$custom-light: #e6e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d461",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 57.983,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85057,
    "c": 0.13709,
    "h": 107.1
  },
  "luminance": 0.62549
}

Semantic roles & 50–950 ramp

primary
#D8D461
secondary
#40439D
accent
#23C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D461

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

Preview Lab → · Contrast checker → · Palette generator →

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