#D3D541#D3D541

#D3D541 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.6% C 0.163 H 110.2°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#D3D541
RGBrgb(211, 213, 65)
HSLhsl(61, 64%, 55%)
HSVhsv(61, 69%, 84%)
CMYKcmyk(0.9%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.82, -18.01, 68.92)
CIE-LCHlch(82.82, 71.23, 104.65°)
OKLaboklab(84.57% -0.0564 0.1532)
OKLCHoklch(84.57% 0.163 110.2)
XYZxyz(51.6141, 61.8205, 14.2137)
Luminance0.6182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D541 #4341D5
analogous
#D58D41 #D3D541 #89D541
triadic
#D3D541 #41D3D5 #D541D3
tetradic
#D3D541 #41D58D #4341D5 #D54189
square
#D3D541 #41D58D #4341D5 #D54189
split-complementary
#D3D541 #4189D5 #8D41D5
monochromatic
#7E7F1C #B0B227 #D3D541 #DFE073 #EAEBA5

Accessibility & contrast

On white

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

On black

13.36
#D3D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D541
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D541#FFFFFF#000000##000000
##D3D5411.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC28
Deuteranopia (green-blind)
#E7D04C
Tritanopia (blue-blind)
#E2C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d3d541;
/* rgb */ color: rgb(211, 213, 65);
/* oklch */ color: oklch(84.6% 0.163 110.2);
Tailwind
colors: {
  custom: {
    50: '#e4e17f',
    500: '#d3d541',
    950: '#000000',
  },
}
SCSS
$custom: #d3d541;
$custom-light: #e4e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d541",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 60.811,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84569,
    "c": 0.16325,
    "h": 110.2
  },
  "luminance": 0.61819
}

Semantic roles & 50–950 ramp

primary
#D3D541
secondary
#353487
accent
#41E743
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3D541

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

Preview Lab → · Contrast checker → · Palette generator →

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