#D8D55B#D8D55B

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

Color values

HEX#D8D55B
RGBrgb(216, 213, 91)
HSLhsl(59, 62%, 60%)
HSVhsv(59, 58%, 85%)
CMYKcmyk(0%, 1.4%, 57.9%, 15.3%)
CIE-LABlab(83.41, -14.38, 59.25)
CIE-LCHlch(83.41, 60.97, 103.64°)
OKLaboklab(85.2% -0.0437 0.1365)
OKLCHoklch(85.2% 0.143 107.8)
XYZxyz(54.0031, 62.9443, 19.2003)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D55B #5B5ED8
analogous
#D8965B #D8D55B #9CD85B
triadic
#D8D55B #5BD8D5 #D55BD8
tetradic
#D8D55B #5BD896 #5B5ED8 #D85B9C
square
#D8D55B #5BD896 #5B5ED8 #D85B9C
split-complementary
#D8D55B #5B9CD8 #965BD8
monochromatic
#959223 #C7C32F #D8D55B #E4E28C #F0EEBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D55B#FFFFFF#000000##000000
##D8D55B1.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)
#E5CD4E
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#E6C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d55b;
/* rgb */ color: rgb(216, 213, 91);
/* oklch */ color: oklch(85.2% 0.143 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e18e',
    500: '#d8d55b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d55b;
$custom-light: #e7e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d55b",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 91
  },
  "hsl": {
    "h": 58.56,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85204,
    "c": 0.14333,
    "h": 107.8
  },
  "luminance": 0.62943
}

Semantic roles & 50–950 ramp

primary
#D8D55B
secondary
#3D3F9A
accent
#20C91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D55B

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

Preview Lab → · Contrast checker → · Palette generator →

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