#D0D040#D0D040

#D0D040 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.160 H 109.4°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#D0D040
RGBrgb(208, 208, 64)
HSLhsl(60, 61%, 53%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0%, 69.2%, 18.4%)
CIE-LABlab(81.23, -16.84, 67.64)
CIE-LCHlch(81.23, 69.71, 103.98°)
OKLaboklab(83.24% -0.053 0.1504)
OKLCHoklch(83.24% 0.16 109.4)
XYZxyz(49.4954, 58.8933, 13.6098)
Luminance0.5889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D040 #4040D0
analogous
#D08840 #D0D040 #88D040
triadic
#D0D040 #40D0D0 #D040D0
tetradic
#D0D040 #40D088 #4040D0 #D04088
square
#D0D040 #40D088 #4040D0 #D04088
split-complementary
#D0D040 #4088D0 #8840D0
monochromatic
#78781E #A9A92A #D0D040 #DCDC71 #E8E8A2

Accessibility & contrast

On white

1.64
#D0D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D0D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D040
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D040#FFFFFF#000000##000000
##D0D0401.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C728
Deuteranopia (green-blind)
#E2CC4A
Tritanopia (blue-blind)
#DFC3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0d040;
/* rgb */ color: rgb(208, 208, 64);
/* oklch */ color: oklch(83.2% 0.160 109.4);
Tailwind
colors: {
  custom: {
    50: '#e2de7e',
    500: '#d0d040',
    950: '#000000',
  },
}
SCSS
$custom: #d0d040;
$custom-light: #e2de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d040",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 60,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83243,
    "c": 0.15951,
    "h": 109.4
  },
  "luminance": 0.58892
}

Semantic roles & 50–950 ramp

primary
#D0D040
secondary
#343480
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D0D040

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

Preview Lab → · Contrast checker → · Palette generator →

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