#D0C541#D0C541

#D0C541 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.148 H 104.5°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D0C541
RGBrgb(208, 197, 65)
HSLhsl(55, 60%, 54%)
HSVhsv(55, 69%, 82%)
CMYKcmyk(0%, 5.3%, 68.8%, 18.4%)
CIE-LABlab(78.30, -11.27, 64.37)
CIE-LCHlch(78.30, 65.34, 99.93°)
OKLaboklab(80.91% -0.0372 0.1437)
OKLCHoklch(80.91% 0.148 104.5)
XYZxyz(46.9347, 53.7259, 12.8978)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C541 #414CD0
analogous
#D07D41 #D0C541 #93D041
triadic
#D0C541 #41D0C5 #C541D0
tetradic
#D0C541 #41D07D #414CD0 #D04193
square
#D0C541 #41D07D #414CD0 #D04193
split-complementary
#D0C541 #4193D0 #7D41D0
monochromatic
#79721E #AAA02A #D0C541 #DCD472 #E8E3A3

Accessibility & contrast

On white

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

On black

11.74
#D0C541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C541
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C541#FFFFFF#000000##000000
##D0C5411.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c541;
/* rgb */ color: rgb(208, 197, 65);
/* oklch */ color: oklch(80.9% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#e2d67d',
    500: '#d0c541',
    950: '#000000',
  },
}
SCSS
$custom: #d0c541;
$custom-light: #e2d67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c541",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 65
  },
  "hsl": {
    "h": 55.385,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80908,
    "c": 0.14845,
    "h": 104.5
  },
  "luminance": 0.53724
}

Semantic roles & 50–950 ramp

primary
#D0C541
secondary
#343A81
accent
#51E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C541

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

Preview Lab → · Contrast checker → · Palette generator →

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