#D5D041#D5D041

#D5D041 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.158 H 107.4°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#D5D041
RGBrgb(213, 208, 65)
HSLhsl(58, 64%, 55%)
HSVhsv(58, 69%, 84%)
CMYKcmyk(0%, 2.3%, 69.5%, 16.5%)
CIE-LABlab(81.64, -14.70, 67.82)
CIE-LCHlch(81.64, 69.39, 102.23°)
OKLaboklab(83.67% -0.0472 0.1508)
OKLCHoklch(83.67% 0.158 107.4)
XYZxyz(50.9525, 59.6412, 13.8279)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D041 #4146D5
analogous
#D58641 #D5D041 #90D541
triadic
#D5D041 #41D5D0 #D041D5
tetradic
#D5D041 #41D586 #4146D5 #D54190
square
#D5D041 #41D586 #4146D5 #D54190
split-complementary
#D5D041 #4190D5 #8641D5
monochromatic
#7F7C1C #B2AD27 #D5D041 #E0DC73 #EBE9A5

Accessibility & contrast

On white

1.62
#D5D041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#D5D041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D041
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D041#FFFFFF#000000##000000
##D5D0411.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#E4C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5d041;
/* rgb */ color: rgb(213, 208, 65);
/* oklch */ color: oklch(83.7% 0.158 107.4);
Tailwind
colors: {
  custom: {
    50: '#e6de7e',
    500: '#d5d041',
    950: '#000000',
  },
}
SCSS
$custom: #d5d041;
$custom-light: #e6de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d041",
  "rgb": {
    "r": 213,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 57.973,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8367,
    "c": 0.15803,
    "h": 107.4
  },
  "luminance": 0.5964
}

Semantic roles & 50–950 ramp

primary
#D5D041
secondary
#343687
accent
#47E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D041

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

Preview Lab → · Contrast checker → · Palette generator →

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