#D0D740#D0D740

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

Color values

HEX#D0D740
RGBrgb(208, 215, 64)
HSLhsl(63, 65%, 55%)
HSVhsv(63, 70%, 84%)
CMYKcmyk(3.3%, 0%, 70.2%, 15.7%)
CIE-LABlab(83.12, -20.29, 69.49)
CIE-LCHlch(83.12, 72.39, 106.28°)
OKLaboklab(84.75% -0.0627 0.1543)
OKLCHoklch(84.75% 0.167 112.1)
XYZxyz(51.2399, 62.3822, 14.1913)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D740 #4740D7
analogous
#D79240 #D0D740 #85D740
triadic
#D0D740 #40D0D7 #D740D0
tetradic
#D0D740 #40D792 #4740D7 #D74085
square
#D0D740 #40D792 #4740D7 #D74085
split-complementary
#D0D740 #4085D7 #9240D7
monochromatic
#7D811B #ADB426 #D0D740 #DCE273 #E9ECA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0D740#FFFFFF#000000##000000
##D0D7401.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)
#E7CD25
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#DECABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d0d740;
/* rgb */ color: rgb(208, 215, 64);
/* oklch */ color: oklch(84.7% 0.167 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e37e',
    500: '#d0d740',
    950: '#000000',
  },
}
SCSS
$custom: #d0d740;
$custom-light: #e2e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d740",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 62.781,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84748,
    "c": 0.16657,
    "h": 112.1
  },
  "luminance": 0.62381
}

Semantic roles & 50–950 ramp

primary
#D0D740
secondary
#373388
accent
#3FE847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D740

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

Preview Lab → · Contrast checker → · Palette generator →

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