#D8D55F#D8D55F

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

Color values

HEX#D8D55F
RGBrgb(216, 213, 95)
HSLhsl(59, 61%, 61%)
HSVhsv(59, 56%, 85%)
CMYKcmyk(0%, 1.4%, 56%, 15.3%)
CIE-LABlab(83.45, -14.09, 57.52)
CIE-LCHlch(83.45, 59.22, 103.76°)
OKLaboklab(85.25% -0.0425 0.1333)
OKLCHoklch(85.25% 0.14 107.7)
XYZxyz(54.1803, 63.0152, 20.1334)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D55F #5F62D8
analogous
#D8985F #D8D55F #9ED85F
triadic
#D8D55F #5FD8D5 #D55FD8
tetradic
#D8D55F #5FD898 #5F62D8 #D85F9E
square
#D8D55F #5FD898 #5F62D8 #D85F9E
split-complementary
#D8D55F #5F9ED8 #985FD8
monochromatic
#989525 #C9C531 #D8D55F #E4E290 #F0EFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D55F#FFFFFF#000000##000000
##D8D55F1.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)
#E5CD53
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#E6C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d55f;
/* rgb */ color: rgb(216, 213, 95);
/* oklch */ color: oklch(85.2% 0.140 107.7);
Tailwind
colors: {
  custom: {
    50: '#e7e190',
    500: '#d8d55f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d55f;
$custom-light: #e7e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d55f",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 58.512,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85246,
    "c": 0.1399,
    "h": 107.7
  },
  "luminance": 0.63014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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