#D3D642#D3D642

#D3D642 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.8% C 0.164 H 110.6°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D3D642
RGBrgb(211, 214, 66)
HSLhsl(61, 64%, 55%)
HSVhsv(61, 69%, 84%)
CMYKcmyk(1.4%, 0%, 69.2%, 16.1%)
CIE-LABlab(83.09, -18.46, 68.83)
CIE-LCHlch(83.09, 71.26, 105.01°)
OKLaboklab(84.79% -0.0575 0.1532)
OKLCHoklch(84.79% 0.164 110.6)
XYZxyz(51.8956, 62.3368, 14.4517)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D642 #4542D6
analogous
#D68F42 #D3D642 #89D642
triadic
#D3D642 #42D3D6 #D642D3
tetradic
#D3D642 #42D68F #4542D6 #D64289
square
#D3D642 #42D68F #4542D6 #D64289
split-complementary
#D3D642 #4289D6 #8F42D6
monochromatic
#7F821C #B1B427 #D3D642 #DFE174 #EAECA7

Accessibility & contrast

On white

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

On black

13.47
#D3D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D642
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D642#FFFFFF#000000##000000
##D3D6421.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#E1C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d3d642;
/* rgb */ color: rgb(211, 214, 66);
/* oklch */ color: oklch(84.8% 0.164 110.6);
Tailwind
colors: {
  custom: {
    50: '#e4e27f',
    500: '#d3d642',
    950: '#000000',
  },
}
SCSS
$custom: #d3d642;
$custom-light: #e4e27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d642",
  "rgb": {
    "r": 211,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 61.216,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8479,
    "c": 0.16363,
    "h": 110.6
  },
  "luminance": 0.62335
}

Semantic roles & 50–950 ramp

primary
#D3D642
secondary
#353488
accent
#40E744
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3D642

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

Preview Lab → · Contrast checker → · Palette generator →

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