#D2C849#D2C849

#D2C849 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.145 H 104.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D2C849
RGBrgb(210, 200, 73)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 65%, 82%)
CMYKcmyk(0%, 4.8%, 65.2%, 17.6%)
CIE-LABlab(79.32, -11.50, 62.31)
CIE-LCHlch(79.32, 63.36, 100.46°)
OKLaboklab(81.78% -0.0372 0.1406)
OKLCHoklch(81.78% 0.145 104.8)
XYZxyz(48.4371, 55.4930, 14.4618)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C849 #4953D2
analogous
#D28349 #D2C849 #98D249
triadic
#D2C849 #49D2C8 #C849D2
tetradic
#D2C849 #49D283 #4953D2 #D24998
square
#D2C849 #49D283 #4953D2 #D24998
split-complementary
#D2C849 #4998D2 #8349D2
monochromatic
#817A20 #B2A82C #D2C849 #DED77A #EAE6AB

Accessibility & contrast

On white

1.74
#D2C849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D2C849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C849
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C849#FFFFFF#000000##000000
##D2C8491.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C138
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#E1BBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c849;
/* rgb */ color: rgb(210, 200, 73);
/* oklch */ color: oklch(81.8% 0.145 104.8);
Tailwind
colors: {
  custom: {
    50: '#e3d882',
    500: '#d2c849',
    950: '#000000',
  },
}
SCSS
$custom: #d2c849;
$custom-light: #e3d882;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c849",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 55.62,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81781,
    "c": 0.14543,
    "h": 104.8
  },
  "luminance": 0.55491
}

Semantic roles & 50–950 ramp

primary
#D2C849
secondary
#373D88
accent
#50E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C849

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

Preview Lab → · Contrast checker → · Palette generator →

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