#D0D942#D0D942

#D0D942 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.167 H 112.8°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#D0D942
RGBrgb(208, 217, 66)
HSLhsl(64, 67%, 55%)
HSVhsv(64, 70%, 85%)
CMYKcmyk(4.1%, 0%, 69.6%, 14.9%)
CIE-LABlab(83.67, -21.16, 69.32)
CIE-LCHlch(83.67, 72.48, 106.98°)
OKLaboklab(85.19% -0.0649 0.1543)
OKLCHoklch(85.19% 0.167 112.8)
XYZxyz(51.8102, 63.4301, 14.6672)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D942 #4B42D9
analogous
#D99642 #D0D942 #84D942
triadic
#D0D942 #42D0D9 #D942D0
tetradic
#D0D942 #42D996 #4B42D9 #D94284
square
#D0D942 #42D996 #4B42D9 #D94284
split-complementary
#D0D942 #4284D9 #9642D9
monochromatic
#7F861B #B0B925 #D0D942 #DDE375 #E9EDA8

Accessibility & contrast

On white

1.53
#D0D942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#D0D942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D942
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D942#FFFFFF#000000##000000
##D0D9421.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E9D24D
Tritanopia (blue-blind)
#DECCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d0d942;
/* rgb */ color: rgb(208, 217, 66);
/* oklch */ color: oklch(85.2% 0.167 112.8);
Tailwind
colors: {
  custom: {
    50: '#e2e480',
    500: '#d0d942',
    950: '#000000',
  },
}
SCSS
$custom: #d0d942;
$custom-light: #e2e480;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d942",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 66
  },
  "hsl": {
    "h": 63.576,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85194,
    "c": 0.16741,
    "h": 112.8
  },
  "luminance": 0.63429
}

Semantic roles & 50–950 ramp

primary
#D0D942
secondary
#38338C
accent
#3EE949
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D942

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

Preview Lab → · Contrast checker → · Palette generator →

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