#D0C545#D0C545

#D0C545 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.146 H 104.4°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D0C545
RGBrgb(208, 197, 69)
HSLhsl(55, 60%, 54%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.3%, 66.8%, 18.4%)
CIE-LABlab(78.33, -11.05, 62.84)
CIE-LCHlch(78.33, 63.80, 99.98°)
OKLaboklab(80.94% -0.0362 0.1411)
OKLCHoklch(80.94% 0.146 104.4)
XYZxyz(47.0547, 53.7739, 13.5298)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C545 #4550D0
analogous
#D08045 #D0C545 #96D045
triadic
#D0C545 #45D0C5 #C545D0
tetradic
#D0C545 #45D080 #4550D0 #D04596
square
#D0C545 #45D080 #4550D0 #D04596
split-complementary
#D0C545 #4596D0 #8045D0
monochromatic
#7B741F #ACA22C #D0C545 #DCD476 #E9E3A7

Accessibility & contrast

On white

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

On black

11.75
#D0C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C545
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C545#FFFFFF#000000##000000
##D0C5451.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c545;
/* rgb */ color: rgb(208, 197, 69);
/* oklch */ color: oklch(80.9% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d67f',
    500: '#d0c545',
    950: '#000000',
  },
}
SCSS
$custom: #d0c545;
$custom-light: #e2d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c545",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 55.252,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80939,
    "c": 0.1457,
    "h": 104.4
  },
  "luminance": 0.53772
}

Semantic roles & 50–950 ramp

primary
#D0C545
secondary
#363C83
accent
#51E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C545

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

Preview Lab → · Contrast checker → · Palette generator →

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