#D0DB40#D0DB40

#D0DB40 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.6% C 0.171 H 113.5°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D0DB40
RGBrgb(208, 219, 64)
HSLhsl(64, 68%, 55%)
HSVhsv(64, 71%, 86%)
CMYKcmyk(5%, 0%, 70.8%, 14.1%)
CIE-LABlab(84.20, -22.23, 70.54)
CIE-LCHlch(84.20, 73.96, 107.50°)
OKLaboklab(85.61% -0.0681 0.1566)
OKLCHoklch(85.61% 0.171 113.5)
XYZxyz(52.2709, 64.4442, 14.5349)
Luminance0.6444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0DB40 #4B40DB
analogous
#DB9840 #D0DB40 #82DB40
triadic
#D0DB40 #40D0DB #DB40D0
tetradic
#D0DB40 #40DB98 #4B40DB #DB4082
square
#D0DB40 #40DB98 #4B40DB #DB4082
split-complementary
#D0DB40 #4082DB #9840DB
monochromatic
#7F8719 #B0BB23 #D0DB40 #DDE573 #E9EEA7

Accessibility & contrast

On white

1.51
#D0DB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#D0DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0DB40
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0DB40#FFFFFF#000000##000000
##D0DB401.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD124
Deuteranopia (green-blind)
#EBD44C
Tritanopia (blue-blind)
#DECEBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d0db40;
/* rgb */ color: rgb(208, 219, 64);
/* oklch */ color: oklch(85.6% 0.171 113.5);
Tailwind
colors: {
  custom: {
    50: '#e2e67f',
    500: '#d0db40',
    950: '#000000',
  },
}
SCSS
$custom: #d0db40;
$custom-light: #e2e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0db40",
  "rgb": {
    "r": 208,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 64.258,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85613,
    "c": 0.17072,
    "h": 113.5
  },
  "luminance": 0.64443
}

Semantic roles & 50–950 ramp

primary
#D0DB40
secondary
#38328D
accent
#3DEB49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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