#D3D742#D3D742

#D3D742 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.165 H 111.0°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D3D742
RGBrgb(211, 215, 66)
HSLhsl(62, 65%, 55%)
HSVhsv(62, 69%, 84%)
CMYKcmyk(1.9%, 0%, 69.3%, 15.7%)
CIE-LABlab(83.36, -18.95, 69.09)
CIE-LCHlch(83.36, 71.64, 105.34°)
OKLaboklab(85% -0.0589 0.1537)
OKLCHoklch(85% 0.165 111)
XYZxyz(52.1495, 62.8445, 14.5363)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D742 #4642D7
analogous
#D79142 #D3D742 #88D742
triadic
#D3D742 #42D3D7 #D742D3
tetradic
#D3D742 #42D791 #4642D7 #D74288
square
#D3D742 #42D791 #4642D7 #D74288
split-complementary
#D3D742 #4288D7 #9142D7
monochromatic
#80831C #B2B526 #D3D742 #DFE275 #EBECA7

Accessibility & contrast

On white

1.55
#D3D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D3D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D742
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D742#FFFFFF#000000##000000
##D3D7421.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE29
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#E1CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d3d742;
/* rgb */ color: rgb(211, 215, 66);
/* oklch */ color: oklch(85.0% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#e4e380',
    500: '#d3d742',
    950: '#000000',
  },
}
SCSS
$custom: #d3d742;
$custom-light: #e4e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d742",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 61.611,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85004,
    "c": 0.16464,
    "h": 111
  },
  "luminance": 0.62843
}

Semantic roles & 50–950 ramp

primary
#D3D742
secondary
#36348A
accent
#40E844
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3D742

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

Preview Lab → · Contrast checker → · Palette generator →

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