#D0C549#D0C549

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

Color values

HEX#D0C549
RGBrgb(208, 197, 73)
HSLhsl(55, 59%, 55%)
HSVhsv(55, 65%, 82%)
CMYKcmyk(0%, 5.3%, 64.9%, 18.4%)
CIE-LABlab(78.36, -10.82, 61.25)
CIE-LCHlch(78.36, 62.20, 100.02°)
OKLaboklab(80.97% -0.0351 0.1384)
OKLCHoklch(80.97% 0.143 104.2)
XYZxyz(47.1831, 53.8252, 14.2060)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C549 #4954D0
analogous
#D08149 #D0C549 #98D049
triadic
#D0C549 #49D0C5 #C549D0
tetradic
#D0C549 #49D081 #4954D0 #D04998
square
#D0C549 #49D081 #4954D0 #D04998
split-complementary
#D0C549 #4998D0 #8149D0
monochromatic
#7E7621 #AFA42D #D0C549 #DDD57A #E9E4AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C549#FFFFFF#000000##000000
##D0C5491.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)
#D6BE39
Deuteranopia (green-blind)
#D9C550
Tritanopia (blue-blind)
#DFB8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c549;
/* rgb */ color: rgb(208, 197, 73);
/* oklch */ color: oklch(81.0% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#e2d682',
    500: '#d0c549',
    950: '#000000',
  },
}
SCSS
$custom: #d0c549;
$custom-light: #e2d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c549",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 55.111,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.14281,
    "h": 104.2
  },
  "luminance": 0.53823
}

Semantic roles & 50–950 ramp

primary
#D0C549
secondary
#383E86
accent
#52E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C549

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

Preview Lab → · Contrast checker → · Palette generator →

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