#D8D35D#D8D35D

#D8D35D is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.140 H 106.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D8D35D
RGBrgb(216, 211, 93)
HSLhsl(58, 61%, 61%)
HSVhsv(58, 57%, 85%)
CMYKcmyk(0%, 2.3%, 56.9%, 15.3%)
CIE-LABlab(82.90, -13.24, 57.80)
CIE-LCHlch(82.90, 59.30, 102.90°)
OKLaboklab(84.8% -0.0403 0.1336)
OKLCHoklch(84.8% 0.14 106.8)
XYZxyz(53.5906, 61.9794, 19.4941)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D35D #5D62D8
analogous
#D8955D #D8D35D #9FD85D
triadic
#D8D35D #5DD8D3 #D35DD8
tetradic
#D8D35D #5DD895 #5D62D8 #D85D9F
square
#D8D35D #5DD895 #5D62D8 #D85D9F
split-complementary
#D8D35D #5D9FD8 #955DD8
monochromatic
#969224 #C8C230 #D8D35D #E4E08E #F0EEC0

Accessibility & contrast

On white

1.57
#D8D35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D8D35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D35D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D35D#FFFFFF#000000##000000
##D8D35D1.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC50
Deuteranopia (green-blind)
#E6D163
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d35d;
/* rgb */ color: rgb(216, 211, 93);
/* oklch */ color: oklch(84.8% 0.140 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7e08f',
    500: '#d8d35d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d35d;
$custom-light: #e7e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d35d",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 93
  },
  "hsl": {
    "h": 57.561,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84803,
    "c": 0.13958,
    "h": 106.8
  },
  "luminance": 0.61978
}

Semantic roles & 50–950 ramp

primary
#D8D35D
secondary
#3E429B
accent
#24C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8D35D

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

Preview Lab → · Contrast checker → · Palette generator →

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