#D0D940#D0D940

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

Color values

HEX#D0D940
RGBrgb(208, 217, 64)
HSLhsl(64, 67%, 55%)
HSVhsv(64, 71%, 85%)
CMYKcmyk(4.1%, 0%, 70.5%, 14.9%)
CIE-LABlab(83.66, -21.26, 70.01)
CIE-LCHlch(83.66, 73.17, 106.89°)
OKLaboklab(85.18% -0.0654 0.1554)
OKLCHoklch(85.18% 0.169 112.8)
XYZxyz(51.7523, 63.4069, 14.3621)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D940 #4940D9
analogous
#D99540 #D0D940 #84D940
triadic
#D0D940 #40D0D9 #D940D0
tetradic
#D0D940 #40D995 #4940D9 #D94084
square
#D0D940 #40D995 #4940D9 #D94084
split-complementary
#D0D940 #4084D9 #9540D9
monochromatic
#7E841A #AFB724 #D0D940 #DDE373 #E9EDA6

Accessibility & contrast

On white

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

On black

13.68
#D0D940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D940
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D940#FFFFFF#000000##000000
##D0D9401.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF25
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#DECCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d0d940;
/* rgb */ color: rgb(208, 217, 64);
/* oklch */ color: oklch(85.2% 0.169 112.8);
Tailwind
colors: {
  custom: {
    50: '#e2e47f',
    500: '#d0d940',
    950: '#000000',
  },
}
SCSS
$custom: #d0d940;
$custom-light: #e2e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d940",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 63.529,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.8518,
    "c": 0.16863,
    "h": 112.8
  },
  "luminance": 0.63406
}

Semantic roles & 50–950 ramp

primary
#D0D940
secondary
#38328B
accent
#3EEA48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D940

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

Preview Lab → · Contrast checker → · Palette generator →

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