#D0D742#D0D742

#D0D742 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.8% C 0.165 H 112.1°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D0D742
RGBrgb(208, 215, 66)
HSLhsl(63, 65%, 55%)
HSVhsv(63, 69%, 84%)
CMYKcmyk(3.3%, 0%, 69.3%, 15.7%)
CIE-LABlab(83.13, -20.19, 68.79)
CIE-LCHlch(83.13, 71.69, 106.36°)
OKLaboklab(84.76% -0.0622 0.1532)
OKLCHoklch(84.76% 0.165 112.1)
XYZxyz(51.2978, 62.4053, 14.4964)
Luminance0.6240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D742 #4942D7
analogous
#D79442 #D0D742 #85D742
triadic
#D0D742 #42D0D7 #D742D0
tetradic
#D0D742 #42D794 #4942D7 #D74285
square
#D0D742 #42D794 #4942D7 #D74285
split-complementary
#D0D742 #4285D7 #9442D7
monochromatic
#7E831C #AFB526 #D0D742 #DDE275 #E9ECA7

Accessibility & contrast

On white

1.56
#D0D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#D0D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D742
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D742#FFFFFF#000000##000000
##D0D7421.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD29
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#DECABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d0d742;
/* rgb */ color: rgb(208, 215, 66);
/* oklch */ color: oklch(84.8% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e380',
    500: '#d0d742',
    950: '#000000',
  },
}
SCSS
$custom: #d0d742;
$custom-light: #e2e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d742",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 62.819,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.84762,
    "c": 0.16534,
    "h": 112.1
  },
  "luminance": 0.62404
}

Semantic roles & 50–950 ramp

primary
#D0D742
secondary
#38348A
accent
#40E848
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D742

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

Preview Lab → · Contrast checker → · Palette generator →

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