#D3D542#D3D542

#D3D542 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.37:1 contrast (WCAG AA passes).

Color values

HEX#D3D542
RGBrgb(211, 213, 66)
HSLhsl(61, 64%, 55%)
HSVhsv(61, 69%, 84%)
CMYKcmyk(0.9%, 0%, 69%, 16.5%)
CIE-LABlab(82.82, -17.96, 68.57)
CIE-LCHlch(82.82, 70.88, 104.68°)
OKLaboklab(84.58% -0.0561 0.1526)
OKLCHoklch(84.58% 0.163 110.2)
XYZxyz(51.6433, 61.8322, 14.3676)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D542 #4442D5
analogous
#D58D42 #D3D542 #8AD542
triadic
#D3D542 #42D3D5 #D542D3
tetradic
#D3D542 #42D58D #4442D5 #D5428A
square
#D3D542 #42D58D #4442D5 #D5428A
split-complementary
#D3D542 #428AD5 #8D42D5
monochromatic
#7F801C #B0B228 #D3D542 #DFE074 #EAEBA6

Accessibility & contrast

On white

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

On black

13.37
#D3D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D542
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D542#FFFFFF#000000##000000
##D3D5421.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3d542;
/* rgb */ color: rgb(211, 213, 66);
/* oklch */ color: oklch(84.6% 0.163 110.2);
Tailwind
colors: {
  custom: {
    50: '#e4e17f',
    500: '#d3d542',
    950: '#000000',
  },
}
SCSS
$custom: #d3d542;
$custom-light: #e4e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d542",
  "rgb": {
    "r": 211,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 60.816,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84576,
    "c": 0.16263,
    "h": 110.2
  },
  "luminance": 0.61831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3D542

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

Preview Lab → · Contrast checker → · Palette generator →

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