#D8D75F#D8D75F

#D8D75F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.7% C 0.142 H 108.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#D8D75F
RGBrgb(216, 215, 95)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0.5%, 56%, 15.3%)
CIE-LABlab(83.98, -15.09, 58.12)
CIE-LCHlch(83.98, 60.05, 104.55°)
OKLaboklab(85.67% -0.0453 0.1346)
OKLCHoklch(85.67% 0.142 108.6)
XYZxyz(54.6864, 64.0275, 20.3021)
Luminance0.6403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D75F #5F60D8
analogous
#D89A5F #D8D75F #9CD85F
triadic
#D8D75F #5FD8D7 #D75FD8
tetradic
#D8D75F #5FD89A #5F60D8 #D85F9C
square
#D8D75F #5FD89A #5F60D8 #D85F9C
split-complementary
#D8D75F #5F9CD8 #9A5FD8
monochromatic
#989725 #C9C831 #D8D75F #E4E390 #F0F0C1

Accessibility & contrast

On white

1.52
#D8D75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#D8D75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D75F
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D75F#FFFFFF#000000##000000
##D8D75F1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E9D366
Tritanopia (blue-blind)
#E6CBBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d75f;
/* rgb */ color: rgb(216, 215, 95);
/* oklch */ color: oklch(85.7% 0.142 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e390',
    500: '#d8d75f',
    950: '#000000',
  },
}
SCSS
$custom: #d8d75f;
$custom-light: #e7e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d75f",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 59.504,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85668,
    "c": 0.14199,
    "h": 108.6
  },
  "luminance": 0.64026
}

Semantic roles & 50–950 ramp

primary
#D8D75F
secondary
#3F409C
accent
#1EC81D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D75F

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

Preview Lab → · Contrast checker → · Palette generator →

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