#D8D75C#D8D75C

#D8D75C is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.145 H 108.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D8D75C
RGBrgb(216, 215, 92)
HSLhsl(60, 61%, 60%)
HSVhsv(60, 57%, 85%)
CMYKcmyk(0%, 0.5%, 57.4%, 15.3%)
CIE-LABlab(83.95, -15.30, 59.41)
CIE-LCHlch(83.95, 61.35, 104.45°)
OKLaboklab(85.64% -0.0463 0.1369)
OKLCHoklch(85.64% 0.145 108.7)
XYZxyz(54.5527, 63.9740, 19.5977)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D75C #5C5DD8
analogous
#D8995C #D8D75C #9BD85C
triadic
#D8D75C #5CD8D7 #D75CD8
tetradic
#D8D75C #5CD899 #5C5DD8 #D85C9B
square
#D8D75C #5CD899 #5C5DD8 #D85C9B
split-complementary
#D8D75C #5C9BD8 #995CD8
monochromatic
#969524 #C7C630 #D8D75C #E4E38D #F0EFBF

Accessibility & contrast

On white

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

On black

13.79
#D8D75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D75C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D75C#FFFFFF#000000##000000
##D8D75C1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4F
Deuteranopia (green-blind)
#E9D363
Tritanopia (blue-blind)
#E6CBBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d75c;
/* rgb */ color: rgb(216, 215, 92);
/* oklch */ color: oklch(85.6% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e38f',
    500: '#d8d75c',
    950: '#000000',
  },
}
SCSS
$custom: #d8d75c;
$custom-light: #e7e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d75c",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 92
  },
  "hsl": {
    "h": 59.516,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85637,
    "c": 0.14455,
    "h": 108.7
  },
  "luminance": 0.63973
}

Semantic roles & 50–950 ramp

primary
#D8D75C
secondary
#3E3E9B
accent
#1EC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D75C

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

Preview Lab → · Contrast checker → · Palette generator →

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