#D2C949#D2C949

#D2C949 is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.146 H 105.3°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D2C949
RGBrgb(210, 201, 73)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 4.3%, 65.2%, 17.6%)
CIE-LABlab(79.59, -12.01, 62.58)
CIE-LCHlch(79.59, 63.73, 100.86°)
OKLaboklab(81.99% -0.0386 0.1412)
OKLCHoklch(81.99% 0.146 105.3)
XYZxyz(48.6694, 55.9577, 14.5393)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C949 #4952D2
analogous
#D28449 #D2C949 #97D249
triadic
#D2C949 #49D2C9 #C949D2
tetradic
#D2C949 #49D284 #4952D2 #D24997
square
#D2C949 #49D284 #4952D2 #D24997
split-complementary
#D2C949 #4997D2 #8449D2
monochromatic
#817A20 #B2A92C #D2C949 #DED87A #EAE6AB

Accessibility & contrast

On white

1.72
#D2C949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D2C949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C949
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C949#FFFFFF#000000##000000
##D2C9491.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC238
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E1BCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c949;
/* rgb */ color: rgb(210, 201, 73);
/* oklch */ color: oklch(82.0% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#e3d982',
    500: '#d2c949',
    950: '#000000',
  },
}
SCSS
$custom: #d2c949;
$custom-light: #e3d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c949",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 73
  },
  "hsl": {
    "h": 56.058,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.14636,
    "h": 105.3
  },
  "luminance": 0.55956
}

Semantic roles & 50–950 ramp

primary
#D2C949
secondary
#373D88
accent
#4FE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C949

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

Preview Lab → · Contrast checker → · Palette generator →

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