#D3D841#D3D841

#D3D841 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.166 H 111.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#D3D841
RGBrgb(211, 216, 65)
HSLhsl(62, 66%, 55%)
HSVhsv(62, 70%, 85%)
CMYKcmyk(2.3%, 0%, 69.9%, 15.3%)
CIE-LABlab(83.62, -19.49, 69.71)
CIE-LCHlch(83.62, 72.38, 105.62°)
OKLaboklab(85.21% -0.0605 0.1549)
OKLCHoklch(85.21% 0.166 111.3)
XYZxyz(52.3757, 63.3436, 14.4675)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D841 #4641D8
analogous
#D89241 #D3D841 #87D841
triadic
#D3D841 #41D3D8 #D841D3
tetradic
#D3D841 #41D892 #4641D8 #D84187
square
#D3D841 #41D892 #4641D8 #D84187
split-complementary
#D3D841 #4187D8 #9241D8
monochromatic
#80841B #B2B625 #D3D841 #DFE274 #EBEDA7

Accessibility & contrast

On white

1.54
#D3D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#D3D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D841
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D841#FFFFFF#000000##000000
##D3D8411.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE27
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#E1CBBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d841;
/* rgb */ color: rgb(211, 216, 65);
/* oklch */ color: oklch(85.2% 0.166 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e37f',
    500: '#d3d841',
    950: '#000000',
  },
}
SCSS
$custom: #d3d841;
$custom-light: #e4e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d841",
  "rgb": {
    "r": 211,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 61.987,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85212,
    "c": 0.16627,
    "h": 111.3
  },
  "luminance": 0.63342
}

Semantic roles & 50–950 ramp

primary
#D3D841
secondary
#36338A
accent
#3FE945
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3D841

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

Preview Lab → · Contrast checker → · Palette generator →

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