#D3D142#D3D142

#D3D142 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.159 H 108.6°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D3D142
RGBrgb(211, 209, 66)
HSLhsl(59, 62%, 54%)
HSVhsv(59, 69%, 83%)
CMYKcmyk(0%, 0.9%, 68.7%, 17.3%)
CIE-LABlab(81.75, -15.98, 67.51)
CIE-LCHlch(81.75, 69.38, 103.32°)
OKLaboklab(83.72% -0.0506 0.1504)
OKLCHoklch(83.72% 0.159 108.6)
XYZxyz(50.6496, 59.8447, 14.0363)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D142 #4244D3
analogous
#D38842 #D3D142 #8DD342
triadic
#D3D142 #42D3D1 #D142D3
tetradic
#D3D142 #42D388 #4244D3 #D3428D
square
#D3D142 #42D388 #4244D3 #D3428D
split-complementary
#D3D142 #428DD3 #8842D3
monochromatic
#7D7C1D #AFAD29 #D3D142 #DFDD74 #EAE9A5

Accessibility & contrast

On white

1.62
#D3D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D3D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D142
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D142#FFFFFF#000000##000000
##D3D1421.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#E2C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d142;
/* rgb */ color: rgb(211, 209, 66);
/* oklch */ color: oklch(83.7% 0.159 108.6);
Tailwind
colors: {
  custom: {
    50: '#e4de7f',
    500: '#d3d142',
    950: '#000000',
  },
}
SCSS
$custom: #d3d142;
$custom-light: #e4de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d142",
  "rgb": {
    "r": 211,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 59.172,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83721,
    "c": 0.15868,
    "h": 108.6
  },
  "luminance": 0.59843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3D142

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

Preview Lab → · Contrast checker → · Palette generator →

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