#D8D35A#D8D35A

#D8D35A is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.8% C 0.142 H 106.9°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#D8D35A
RGBrgb(216, 211, 90)
HSLhsl(58, 62%, 60%)
HSVhsv(58, 58%, 85%)
CMYKcmyk(0%, 2.3%, 58.3%, 15.3%)
CIE-LABlab(82.87, -13.45, 59.09)
CIE-LCHlch(82.87, 60.60, 102.83°)
OKLaboklab(84.77% -0.0412 0.136)
OKLCHoklch(84.77% 0.142 106.9)
XYZxyz(53.4603, 61.9273, 18.8079)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D35A #5A5FD8
analogous
#D8945A #D8D35A #9ED85A
triadic
#D8D35A #5AD8D3 #D35AD8
tetradic
#D8D35A #5AD894 #5A5FD8 #D85A9E
square
#D8D35A #5AD894 #5A5FD8 #D85A9E
split-complementary
#D8D35A #5A9ED8 #945AD8
monochromatic
#959023 #C6C02F #D8D35A #E4E08B #EFEDBD

Accessibility & contrast

On white

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

On black

13.39
#D8D35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D35A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D35A#FFFFFF#000000##000000
##D8D35A1.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4D
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#E6C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d35a;
/* rgb */ color: rgb(216, 211, 90);
/* oklch */ color: oklch(84.8% 0.142 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7e08d',
    500: '#d8d35a',
    950: '#000000',
  },
}
SCSS
$custom: #d8d35a;
$custom-light: #e7e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d35a",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 57.619,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84772,
    "c": 0.14213,
    "h": 106.9
  },
  "luminance": 0.61926
}

Semantic roles & 50–950 ramp

primary
#D8D35A
secondary
#3D4099
accent
#49E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D35A

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

Preview Lab → · Contrast checker → · Palette generator →

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