#D2C749#D2C749

#D2C749 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.145 H 104.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#D2C749
RGBrgb(210, 199, 73)
HSLhsl(55, 60%, 55%)
HSVhsv(55, 65%, 82%)
CMYKcmyk(0%, 5.2%, 65.2%, 17.6%)
CIE-LABlab(79.06, -11.00, 62.03)
CIE-LCHlch(79.06, 63.00, 100.05°)
OKLaboklab(81.57% -0.0357 0.14)
OKLCHoklch(81.57% 0.145 104.3)
XYZxyz(48.2062, 55.0313, 14.3849)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C749 #4954D2
analogous
#D28249 #D2C749 #99D249
triadic
#D2C749 #49D2C7 #C749D2
tetradic
#D2C749 #49D282 #4954D2 #D24999
square
#D2C749 #49D282 #4954D2 #D24999
split-complementary
#D2C749 #4999D2 #8249D2
monochromatic
#817920 #B2A72C #D2C749 #DED67A #EAE5AB

Accessibility & contrast

On white

1.75
#D2C749 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#D2C749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C749
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C749#FFFFFF#000000##000000
##D2C7491.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C038
Deuteranopia (green-blind)
#DCC651
Tritanopia (blue-blind)
#E1BAAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c749;
/* rgb */ color: rgb(210, 199, 73);
/* oklch */ color: oklch(81.6% 0.145 104.3);
Tailwind
colors: {
  custom: {
    50: '#e3d782',
    500: '#d2c749',
    950: '#000000',
  },
}
SCSS
$custom: #d2c749;
$custom-light: #e3d782;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c749",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 73
  },
  "hsl": {
    "h": 55.182,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8157,
    "c": 0.14451,
    "h": 104.3
  },
  "luminance": 0.5503
}

Semantic roles & 50–950 ramp

primary
#D2C749
secondary
#373E88
accent
#51E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C749

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

Preview Lab → · Contrast checker → · Palette generator →

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