#D8D55A#D8D55A

#D8D55A is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.144 H 107.8°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D8D55A
RGBrgb(216, 213, 90)
HSLhsl(59, 62%, 60%)
HSVhsv(59, 58%, 85%)
CMYKcmyk(0%, 1.4%, 58.3%, 15.3%)
CIE-LABlab(83.40, -14.45, 59.67)
CIE-LCHlch(83.40, 61.40, 103.61°)
OKLaboklab(85.19% -0.0441 0.1373)
OKLCHoklch(85.19% 0.144 107.8)
XYZxyz(53.9603, 62.9272, 18.9746)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D55A #5A5DD8
analogous
#D8965A #D8D55A #9CD85A
triadic
#D8D55A #5AD8D5 #D55AD8
tetradic
#D8D55A #5AD896 #5A5DD8 #D85A9C
square
#D8D55A #5AD896 #5A5DD8 #D85A9C
split-complementary
#D8D55A #5A9CD8 #965AD8
monochromatic
#959223 #C6C22F #D8D55A #E4E28B #EFEEBD

Accessibility & contrast

On white

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

On black

13.59
#D8D55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D55A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D55A#FFFFFF#000000##000000
##D8D55A1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4C
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#E6C8BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d55a;
/* rgb */ color: rgb(216, 213, 90);
/* oklch */ color: oklch(85.2% 0.144 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e18d',
    500: '#d8d55a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d55a;
$custom-light: #e7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d55a",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 58.571,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.85194,
    "c": 0.14417,
    "h": 107.8
  },
  "luminance": 0.62926
}

Semantic roles & 50–950 ramp

primary
#D8D55A
secondary
#3D3F99
accent
#47E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D55A

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

Preview Lab → · Contrast checker → · Palette generator →

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