#D2C049#D2C049

#D2C049 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.138 H 100.7°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#D2C049
RGBrgb(210, 192, 73)
HSLhsl(52, 60%, 55%)
HSVhsv(52, 65%, 82%)
CMYKcmyk(0%, 8.6%, 65.2%, 17.6%)
CIE-LABlab(77.21, -7.42, 60.10)
CIE-LCHlch(77.21, 60.56, 97.04°)
OKLaboklab(80.1% -0.0256 0.1359)
OKLCHoklch(80.1% 0.138 100.7)
XYZxyz(46.6325, 51.8840, 13.8603)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C049 #495BD2
analogous
#D27C49 #D2C049 #9FD249
triadic
#D2C049 #49D2C0 #C049D2
tetradic
#D2C049 #49D27C #495BD2 #D2499F
square
#D2C049 #49D27C #495BD2 #D2499F
split-complementary
#D2C049 #499FD2 #7C49D2
monochromatic
#817420 #B2A02C #D2C049 #DED17A #EAE2AB

Accessibility & contrast

On white

1.85
#D2C049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#D2C049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C049
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C049#FFFFFF#000000##000000
##D2C0491.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3A
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c049;
/* rgb */ color: rgb(210, 192, 73);
/* oklch */ color: oklch(80.1% 0.138 100.7);
Tailwind
colors: {
  custom: {
    50: '#e3d281',
    500: '#d2c049',
    950: '#000000',
  },
}
SCSS
$custom: #d2c049;
$custom-light: #e3d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c049",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 52.117,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80102,
    "c": 0.13831,
    "h": 100.7
  },
  "luminance": 0.51882
}

Semantic roles & 50–950 ramp

primary
#D2C049
secondary
#374288
accent
#59E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C049

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

Preview Lab → · Contrast checker → · Palette generator →

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