#D0D342#D0D342

#D0D342 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.9% C 0.161 H 110.6°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#D0D342
RGBrgb(208, 211, 66)
HSLhsl(61, 62%, 54%)
HSVhsv(61, 69%, 83%)
CMYKcmyk(1.4%, 0%, 68.7%, 17.3%)
CIE-LABlab(82.05, -18.22, 67.72)
CIE-LCHlch(82.05, 70.13, 105.06°)
OKLaboklab(83.9% -0.0567 0.151)
OKLCHoklch(83.9% 0.161 110.6)
XYZxyz(50.2917, 60.3931, 14.1610)
Luminance0.6039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D342 #4542D3
analogous
#D38D42 #D0D342 #88D342
triadic
#D0D342 #42D0D3 #D342D0
tetradic
#D0D342 #42D38D #4542D3 #D34288
square
#D0D342 #42D38D #4542D3 #D34288
split-complementary
#D0D342 #4288D3 #8D42D3
monochromatic
#7B7D1D #ACAF29 #D0D342 #DCDF74 #E9EAA5

Accessibility & contrast

On white

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

On black

13.08
#D0D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D342
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D342#FFFFFF#000000##000000
##D0D3421.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2A
Deuteranopia (green-blind)
#E5CE4D
Tritanopia (blue-blind)
#DEC6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d0d342;
/* rgb */ color: rgb(208, 211, 66);
/* oklch */ color: oklch(83.9% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#e2e07f',
    500: '#d0d342',
    950: '#000000',
  },
}
SCSS
$custom: #d0d342;
$custom-light: #e2e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d342",
  "rgb": {
    "r": 208,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 61.241,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83901,
    "c": 0.16125,
    "h": 110.6
  },
  "luminance": 0.60392
}

Semantic roles & 50–950 ramp

primary
#D0D342
secondary
#363485
accent
#42E546
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D342

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

Preview Lab → · Contrast checker → · Palette generator →

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