#D3D242#D3D242

#D3D242 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.160 H 109.0°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D3D242
RGBrgb(211, 210, 66)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 69%, 83%)
CMYKcmyk(0%, 0.5%, 68.7%, 17.3%)
CIE-LABlab(82.02, -16.48, 67.77)
CIE-LCHlch(82.02, 69.75, 103.67°)
OKLaboklab(83.93% -0.052 0.151)
OKLCHoklch(83.93% 0.16 109)
XYZxyz(50.8957, 60.3370, 14.1184)
Luminance0.6034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D242 #4243D3
analogous
#D38A42 #D3D242 #8CD342
triadic
#D3D242 #42D3D2 #D242D3
tetradic
#D3D242 #42D38A #4243D3 #D3428C
square
#D3D242 #42D38A #4243D3 #D3428C
split-complementary
#D3D242 #428CD3 #8A42D3
monochromatic
#7D7D1D #AFAE29 #D3D242 #DFDE74 #EAEAA5

Accessibility & contrast

On white

1.61
#D3D242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D3D242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D242
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D242#FFFFFF#000000##000000
##D3D2421.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C92B
Deuteranopia (green-blind)
#E5CE4C
Tritanopia (blue-blind)
#E2C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d242;
/* rgb */ color: rgb(211, 210, 66);
/* oklch */ color: oklch(83.9% 0.160 109.0);
Tailwind
colors: {
  custom: {
    50: '#e4df7f',
    500: '#d3d242',
    950: '#000000',
  },
}
SCSS
$custom: #d3d242;
$custom-light: #e4df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d242",
  "rgb": {
    "r": 211,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 59.586,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83934,
    "c": 0.15966,
    "h": 109
  },
  "luminance": 0.60335
}

Semantic roles & 50–950 ramp

primary
#D3D242
secondary
#343585
accent
#44E542
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D3D242

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

Preview Lab → · Contrast checker → · Palette generator →

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