#D0D540#D0D540

#D0D540 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.3% C 0.165 H 111.4°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D0D540
RGBrgb(208, 213, 64)
HSLhsl(62, 64%, 54%)
HSVhsv(62, 70%, 84%)
CMYKcmyk(2.3%, 0%, 70%, 16.5%)
CIE-LABlab(82.58, -19.31, 68.96)
CIE-LCHlch(82.58, 71.61, 105.64°)
OKLaboklab(84.32% -0.0599 0.1532)
OKLCHoklch(84.32% 0.165 111.4)
XYZxyz(50.7337, 61.3699, 14.0225)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D540 #4540D5
analogous
#D58F40 #D0D540 #86D540
triadic
#D0D540 #40D0D5 #D540D0
tetradic
#D0D540 #40D58F #4540D5 #D54086
square
#D0D540 #40D58F #4540D5 #D54086
split-complementary
#D0D540 #4086D5 #8F40D5
monochromatic
#7B7F1C #ACB127 #D0D540 #DCE072 #E9EBA4

Accessibility & contrast

On white

1.58
#D0D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D0D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D540
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D540#FFFFFF#000000##000000
##D0D5401.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E6CF4B
Tritanopia (blue-blind)
#DEC8B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d0d540;
/* rgb */ color: rgb(208, 213, 64);
/* oklch */ color: oklch(84.3% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#e2e17e',
    500: '#d0d540',
    950: '#000000',
  },
}
SCSS
$custom: #d0d540;
$custom-light: #e2e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d540",
  "rgb": {
    "r": 208,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 62.013,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84317,
    "c": 0.16452,
    "h": 111.4
  },
  "luminance": 0.61369
}

Semantic roles & 50–950 ramp

primary
#D0D540
secondary
#363386
accent
#41E746
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D540

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

Preview Lab → · Contrast checker → · Palette generator →

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