#D0D048#D0D048

#D0D048 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.154 H 109.3°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D0D048
RGBrgb(208, 208, 72)
HSLhsl(60, 59%, 55%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0%, 65.4%, 18.4%)
CIE-LABlab(81.29, -16.41, 64.68)
CIE-LCHlch(81.29, 66.73, 104.24°)
OKLaboklab(83.3% -0.051 0.1455)
OKLCHoklch(83.3% 0.154 109.3)
XYZxyz(49.7396, 58.9909, 14.8959)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D048 #4848D0
analogous
#D08C48 #D0D048 #8CD048
triadic
#D0D048 #48D0D0 #D048D0
tetradic
#D0D048 #48D08C #4848D0 #D0488C
square
#D0D048 #48D08C #4848D0 #D0488C
split-complementary
#D0D048 #488CD0 #8C48D0
monochromatic
#7D7D20 #AEAE2D #D0D048 #DDDD79 #E9E9A9

Accessibility & contrast

On white

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

On black

12.80
#D0D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D048
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D048#FFFFFF#000000##000000
##D0D0481.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C835
Deuteranopia (green-blind)
#E2CC51
Tritanopia (blue-blind)
#DEC3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0d048;
/* rgb */ color: rgb(208, 208, 72);
/* oklch */ color: oklch(83.3% 0.154 109.3);
Tailwind
colors: {
  custom: {
    50: '#e2de82',
    500: '#d0d048',
    950: '#000000',
  },
}
SCSS
$custom: #d0d048;
$custom-light: #e2de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d048",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83303,
    "c": 0.15419,
    "h": 109.3
  },
  "luminance": 0.5899
}

Semantic roles & 50–950 ramp

primary
#D0D048
secondary
#373785
accent
#45E245
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D0D048

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

Preview Lab → · Contrast checker → · Palette generator →

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