#D2C549#D2C549

#D2C549 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.143 H 103.3°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#D2C549
RGBrgb(210, 197, 73)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 65%, 82%)
CMYKcmyk(0%, 6.2%, 65.2%, 17.6%)
CIE-LABlab(78.53, -9.98, 61.48)
CIE-LCHlch(78.53, 62.29, 99.22°)
OKLaboklab(81.15% -0.0329 0.1389)
OKLCHoklch(81.15% 0.143 103.3)
XYZxyz(47.7491, 54.1170, 14.2325)
Luminance0.5412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C549 #4956D2
analogous
#D28149 #D2C549 #9AD249
triadic
#D2C549 #49D2C5 #C549D2
tetradic
#D2C549 #49D281 #4956D2 #D2499A
square
#D2C549 #49D281 #4956D2 #D2499A
split-complementary
#D2C549 #499AD2 #8149D2
monochromatic
#817820 #B2A52C #D2C549 #DED57A #EAE4AB

Accessibility & contrast

On white

1.78
#D2C549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#D2C549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C549
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C549#FFFFFF#000000##000000
##D2C5491.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF39
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#E1B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c549;
/* rgb */ color: rgb(210, 197, 73);
/* oklch */ color: oklch(81.1% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e3d682',
    500: '#d2c549',
    950: '#000000',
  },
}
SCSS
$custom: #d2c549;
$custom-light: #e3d682;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c549",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 54.307,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81149,
    "c": 0.14269,
    "h": 103.3
  },
  "luminance": 0.54115
}

Semantic roles & 50–950 ramp

primary
#D2C549
secondary
#373F88
accent
#53E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C549

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

Preview Lab → · Contrast checker → · Palette generator →

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