#D0C548#D0C548

#D0C548 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.144 H 104.3°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#D0C548
RGBrgb(208, 197, 72)
HSLhsl(55, 59%, 55%)
HSVhsv(55, 65%, 82%)
CMYKcmyk(0%, 5.3%, 65.4%, 18.4%)
CIE-LABlab(78.35, -10.88, 61.65)
CIE-LCHlch(78.35, 62.60, 100.01°)
OKLaboklab(80.96% -0.0354 0.1391)
OKLCHoklch(80.96% 0.144 104.3)
XYZxyz(47.1502, 53.8120, 14.0328)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C548 #4853D0
analogous
#D08148 #D0C548 #97D048
triadic
#D0C548 #48D0C5 #C548D0
tetradic
#D0C548 #48D081 #4853D0 #D04897
square
#D0C548 #48D081 #4853D0 #D04897
split-complementary
#D0C548 #4897D0 #8148D0
monochromatic
#7D7620 #AEA42D #D0C548 #DDD479 #E9E4A9

Accessibility & contrast

On white

1.79
#D0C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#D0C548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C548
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C548#FFFFFF#000000##000000
##D0C5481.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE37
Deuteranopia (green-blind)
#D9C550
Tritanopia (blue-blind)
#DFB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c548;
/* rgb */ color: rgb(208, 197, 72);
/* oklch */ color: oklch(81.0% 0.144 104.3);
Tailwind
colors: {
  custom: {
    50: '#e2d681',
    500: '#d0c548',
    950: '#000000',
  },
}
SCSS
$custom: #d0c548;
$custom-light: #e2d681;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c548",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 55.147,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.14355,
    "h": 104.3
  },
  "luminance": 0.5381
}

Semantic roles & 50–950 ramp

primary
#D0C548
secondary
#373D85
accent
#52E245
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C548

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

Preview Lab → · Contrast checker → · Palette generator →

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