#D0D240#D0D240

#D0D240 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.162 H 110.2°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D0D240
RGBrgb(208, 210, 64)
HSLhsl(61, 62%, 54%)
HSVhsv(61, 70%, 82%)
CMYKcmyk(1%, 0%, 69.5%, 17.6%)
CIE-LABlab(81.77, -17.83, 68.17)
CIE-LCHlch(81.77, 70.47, 104.66°)
OKLaboklab(83.67% -0.0558 0.1516)
OKLCHoklch(83.67% 0.162 110.2)
XYZxyz(49.9861, 59.8746, 13.7733)
Luminance0.5987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D240 #4240D2
analogous
#D28B40 #D0D240 #87D240
triadic
#D0D240 #40D0D2 #D240D0
tetradic
#D0D240 #40D28B #4240D2 #D24087
square
#D0D240 #40D28B #4240D2 #D24087
split-complementary
#D0D240 #4087D2 #8B40D2
monochromatic
#797B1D #AAAC29 #D0D240 #DCDE72 #E8E9A3

Accessibility & contrast

On white

1.62
#D0D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D0D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D240
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D240#FFFFFF#000000##000000
##D0D2401.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#DEC5B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d0d240;
/* rgb */ color: rgb(208, 210, 64);
/* oklch */ color: oklch(83.7% 0.162 110.2);
Tailwind
colors: {
  custom: {
    50: '#e2df7e',
    500: '#d0d240',
    950: '#000000',
  },
}
SCSS
$custom: #d0d240;
$custom-light: #e2df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d240",
  "rgb": {
    "r": 208,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 60.822,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.83672,
    "c": 0.16151,
    "h": 110.2
  },
  "luminance": 0.59873
}

Semantic roles & 50–950 ramp

primary
#D0D240
secondary
#353483
accent
#43E545
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D240

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

Preview Lab → · Contrast checker → · Palette generator →

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