#D0DC42#D0DC42

#D0DC42 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 85.8% C 0.171 H 113.9°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#D0DC42
RGBrgb(208, 220, 66)
HSLhsl(65, 69%, 56%)
HSVhsv(65, 70%, 86%)
CMYKcmyk(5.5%, 0%, 70%, 13.7%)
CIE-LABlab(84.48, -22.62, 70.11)
CIE-LCHlch(84.48, 73.67, 107.88°)
OKLaboklab(85.84% -0.069 0.156)
OKLCHoklch(85.84% 0.171 113.9)
XYZxyz(52.5905, 64.9907, 14.9273)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0DC42 #4E42DC
analogous
#DC9B42 #D0DC42 #83DC42
triadic
#D0DC42 #42D0DC #DC42D0
tetradic
#D0DC42 #42DC9B #4E42DC #DC4283
square
#D0DC42 #42DC9B #4E42DC #DC4283
split-complementary
#D0DC42 #4283DC #9B42DC
monochromatic
#818A1A #B2BE23 #D0DC42 #DDE676 #EAEFA9

Accessibility & contrast

On white

1.50
#D0DC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#D0DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0DC42
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0DC42#FFFFFF#000000##000000
##D0DC421.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD127
Deuteranopia (green-blind)
#ECD44E
Tritanopia (blue-blind)
#DECFBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d0dc42;
/* rgb */ color: rgb(208, 220, 66);
/* oklch */ color: oklch(85.8% 0.171 113.9);
Tailwind
colors: {
  custom: {
    50: '#e2e680',
    500: '#d0dc42',
    950: '#000000',
  },
}
SCSS
$custom: #d0dc42;
$custom-light: #e2e680;
$custom-dark: #000000;
JSON
{
  "hex": "#d0dc42",
  "rgb": {
    "r": 208,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 64.675,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85843,
    "c": 0.17055,
    "h": 113.9
  },
  "luminance": 0.6499
}

Semantic roles & 50–950 ramp

primary
#D0DC42
secondary
#3A3290
accent
#3CEC4A
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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