#D5D541#D5D541

#D5D541 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.163 H 109.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D5D541
RGBrgb(213, 213, 65)
HSLhsl(60, 64%, 55%)
HSVhsv(60, 69%, 84%)
CMYKcmyk(0%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.98, -17.18, 69.13)
CIE-LCHlch(82.98, 71.23, 103.96°)
OKLaboklab(84.73% -0.0542 0.1536)
OKLCHoklch(84.73% 0.163 109.4)
XYZxyz(52.1908, 62.1178, 14.2407)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D541 #4141D5
analogous
#D58B41 #D5D541 #8BD541
triadic
#D5D541 #41D5D5 #D541D5
tetradic
#D5D541 #41D58B #4141D5 #D5418B
square
#D5D541 #41D58B #4141D5 #D5418B
split-complementary
#D5D541 #418BD5 #8B41D5
monochromatic
#7F7F1C #B2B227 #D5D541 #E0E073 #EBEBA5

Accessibility & contrast

On white

1.56
#D5D541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D5D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D541
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D541#FFFFFF#000000##000000
##D5D5411.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC28
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#E4C8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d541;
/* rgb */ color: rgb(213, 213, 65);
/* oklch */ color: oklch(84.7% 0.163 109.4);
Tailwind
colors: {
  custom: {
    50: '#e6e17f',
    500: '#d5d541',
    950: '#000000',
  },
}
SCSS
$custom: #d5d541;
$custom-light: #e6e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d541",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84734,
    "c": 0.16286,
    "h": 109.4
  },
  "luminance": 0.62116
}

Semantic roles & 50–950 ramp

primary
#D5D541
secondary
#343487
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D541

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

Preview Lab → · Contrast checker → · Palette generator →

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