#D5D941#D5D941

#D5D941 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.167 H 111.0°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D5D941
RGBrgb(213, 217, 65)
HSLhsl(62, 67%, 55%)
HSVhsv(62, 70%, 85%)
CMYKcmyk(1.8%, 0%, 70%, 14.9%)
CIE-LABlab(84.05, -19.15, 70.17)
CIE-LCHlch(84.05, 72.74, 105.26°)
OKLaboklab(85.59% -0.0597 0.1558)
OKLCHoklch(85.59% 0.167 111)
XYZxyz(53.2093, 64.1549, 14.5802)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D941 #4541D9
analogous
#D99141 #D5D941 #89D941
triadic
#D5D941 #41D5D9 #D941D5
tetradic
#D5D941 #41D991 #4541D9 #D94189
square
#D5D941 #41D991 #4541D9 #D94189
split-complementary
#D5D941 #4189D9 #9141D9
monochromatic
#82851B #B4B825 #D5D941 #E0E374 #ECEDA7

Accessibility & contrast

On white

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

On black

13.83
#D5D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D941
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D941#FFFFFF#000000##000000
##D5D9411.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF26
Deuteranopia (green-blind)
#EBD44C
Tritanopia (blue-blind)
#E4CCBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d941;
/* rgb */ color: rgb(213, 217, 65);
/* oklch */ color: oklch(85.6% 0.167 111.0);
Tailwind
colors: {
  custom: {
    50: '#e6e47f',
    500: '#d5d941',
    950: '#000000',
  },
}
SCSS
$custom: #d5d941;
$custom-light: #e6e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d941",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 61.579,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85589,
    "c": 0.16682,
    "h": 111
  },
  "luminance": 0.64153
}

Semantic roles & 50–950 ramp

primary
#D5D941
secondary
#35338B
accent
#3EEA43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D941

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

Preview Lab → · Contrast checker → · Palette generator →

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