#D0D542#D0D542

#D0D542 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.3% C 0.163 H 111.4°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D0D542
RGBrgb(208, 213, 66)
HSLhsl(62, 64%, 55%)
HSVhsv(62, 69%, 84%)
CMYKcmyk(2.3%, 0%, 69%, 16.5%)
CIE-LABlab(82.59, -19.21, 68.26)
CIE-LCHlch(82.59, 70.91, 105.72°)
OKLaboklab(84.33% -0.0595 0.1521)
OKLCHoklch(84.33% 0.163 111.4)
XYZxyz(50.7917, 61.3930, 14.3277)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D542 #4742D5
analogous
#D59142 #D0D542 #86D542
triadic
#D0D542 #42D0D5 #D542D0
tetradic
#D0D542 #42D591 #4742D5 #D54286
square
#D0D542 #42D591 #4742D5 #D54286
split-complementary
#D0D542 #4286D5 #9142D5
monochromatic
#7D801C #ADB228 #D0D542 #DCE074 #E9EBA6

Accessibility & contrast

On white

1.58
#D0D542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D0D542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D542
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D542#FFFFFF#000000##000000
##D0D5421.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC2A
Deuteranopia (green-blind)
#E6CF4D
Tritanopia (blue-blind)
#DEC8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d0d542;
/* rgb */ color: rgb(208, 213, 66);
/* oklch */ color: oklch(84.3% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#e2e17f',
    500: '#d0d542',
    950: '#000000',
  },
}
SCSS
$custom: #d0d542;
$custom-light: #e2e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d542",
  "rgb": {
    "r": 208,
    "g": 213,
    "b": 66
  },
  "hsl": {
    "h": 62.041,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.16328,
    "h": 111.4
  },
  "luminance": 0.61392
}

Semantic roles & 50–950 ramp

primary
#D0D542
secondary
#373487
accent
#41E747
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D542

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

Preview Lab → · Contrast checker → · Palette generator →

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