#D8D55E#D8D55E

#D8D55E is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.141 H 107.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#D8D55E
RGBrgb(216, 213, 94)
HSLhsl(59, 61%, 61%)
HSVhsv(59, 56%, 85%)
CMYKcmyk(0%, 1.4%, 56.5%, 15.3%)
CIE-LABlab(83.44, -14.16, 57.96)
CIE-LCHlch(83.44, 59.66, 103.73°)
OKLaboklab(85.24% -0.0428 0.1341)
OKLCHoklch(85.24% 0.141 107.7)
XYZxyz(54.1351, 62.9971, 19.8955)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D55E #5E61D8
analogous
#D8985E #D8D55E #9ED85E
triadic
#D8D55E #5ED8D5 #D55ED8
tetradic
#D8D55E #5ED898 #5E61D8 #D85E9E
square
#D8D55E #5ED898 #5E61D8 #D85E9E
split-complementary
#D8D55E #5E9ED8 #985ED8
monochromatic
#979425 #C8C531 #D8D55E #E4E28F #F0EFC1

Accessibility & contrast

On white

1.54
#D8D55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#D8D55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D55E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D55E#FFFFFF#000000##000000
##D8D55E1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD51
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#E6C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d55e;
/* rgb */ color: rgb(216, 213, 94);
/* oklch */ color: oklch(85.2% 0.141 107.7);
Tailwind
colors: {
  custom: {
    50: '#e7e190',
    500: '#d8d55e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d55e;
$custom-light: #e7e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d55e",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 58.525,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85235,
    "c": 0.14077,
    "h": 107.7
  },
  "luminance": 0.62996
}

Semantic roles & 50–950 ramp

primary
#D8D55E
secondary
#3F419C
accent
#21C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D55E

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

Preview Lab → · Contrast checker → · Palette generator →

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