#D8D341#D8D341

#D8D341 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.6% C 0.160 H 107.4°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D8D341
RGBrgb(216, 211, 65)
HSLhsl(58, 66%, 55%)
HSVhsv(58, 70%, 85%)
CMYKcmyk(0%, 2.3%, 69.9%, 15.3%)
CIE-LABlab(82.68, -14.94, 68.92)
CIE-LCHlch(82.68, 70.53, 102.23°)
OKLaboklab(84.56% -0.048 0.1531)
OKLCHoklch(84.56% 0.16 107.4)
XYZxyz(52.5693, 61.5709, 14.1152)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D341 #4146D8
analogous
#D88741 #D8D341 #92D841
triadic
#D8D341 #41D8D3 #D341D8
tetradic
#D8D341 #41D887 #4146D8 #D84192
square
#D8D341 #41D887 #4146D8 #D84192
split-complementary
#D8D341 #4192D8 #8741D8
monochromatic
#84801B #B6B225 #D8D341 #E2DF74 #EDEBA7

Accessibility & contrast

On white

1.58
#D8D341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D8D341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D341
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D341#FFFFFF#000000##000000
##D8D3411.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB28
Deuteranopia (green-blind)
#E7D04B
Tritanopia (blue-blind)
#E7C5B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d341;
/* rgb */ color: rgb(216, 211, 65);
/* oklch */ color: oklch(84.6% 0.160 107.4);
Tailwind
colors: {
  custom: {
    50: '#e8e07f',
    500: '#d8d341',
    950: '#000000',
  },
}
SCSS
$custom: #d8d341;
$custom-light: #e8e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d341",
  "rgb": {
    "r": 216,
    "g": 211,
    "b": 65
  },
  "hsl": {
    "h": 58.013,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8456,
    "c": 0.16042,
    "h": 107.4
  },
  "luminance": 0.61569
}

Semantic roles & 50–950 ramp

primary
#D8D341
secondary
#33368A
accent
#45E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8D341

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

Preview Lab → · Contrast checker → · Palette generator →

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